adding getArgs call to cli object