Collecting command-line arguments in the CLI