Now using cliArgs struct instead of array