construct kwargs for command-line inside get_command_kwargs()