Lines Matching refs:command

95     command: str
120 def command_verb(command): argument
121 return "flash" if command.name == "flash" else "debug"
123 def add_parser_common(command, parser_adder=None, parser=None): argument
126 command.name,
128 help=command.help,
129 description=command.description)
216 def do_run_common(command, user_args, user_runner_args, domain_file=None): argument
238 dump_context(command, user_args, user_runner_args)
242 for module in zephyr_module.parse_modules(ZEPHYR_BASE, command.manifest):
252 rebuild(command, build_dir, user_args)
353 prev_runner = do_run_common_image(command, user_args, user_runner_args, used_cmds,
357 def do_run_common_image(command, user_args, user_runner_args, used_cmds, argument
360 command_name = command.name
376 runner_cls = use_runner_cls(command, board, user_args, runners_yaml,
398 … if cmd.command == runner_args[i] and (runner_name in cmd.runners or 'all' in cmd.runners):
451 … if cmd.command == '--reset' and (runner_name in cmd.runners or 'all' in cmd.runners):
502 add_parser_common(command, parser=parser)
574 def skip_rebuild(command, args): argument
582 rebuild_config = config.getboolean(command.name, 'rebuild', fallback=None)
589 def rebuild(command, build_dir, args): argument
590 if skip_rebuild(command, args):
625 def use_runner_cls(command, board, args, runners_yaml, cache): argument
630 runner = args.runner or runners_yaml.get(command.runner_key)
651 if command.name not in runner_cls.capabilities().commands:
735 def dump_context(command, args, unknown_args): argument
741 dump_context_no_config(command, None)
749 rebuild(command, build_dir, args)
796 dump_runner_context(command, cls, runners_yaml)
801 dump_all_runner_context(command, runners_yaml, board, selected_build_dir)
803 def dump_context_no_config(command, cls): argument
806 if command.name in cls.capabilities().commands}
807 log.inf('all Zephyr runners which support {}:'.format(command.name),
814 dump_runner_context(command, cls, None)
816 def dump_runner_context(command, cls, runners_yaml, indent=''): argument
870 def dump_all_runner_context(command, runners_yaml, board, build_dir): argument
872 command.name in cls.capabilities().commands}
875 default_runner = runners_yaml[command.runner_key]
898 dump_runner_context(command, cls, runners_yaml, INDENT)