yambs.commands package#

Submodules#

yambs.commands.all module#

yambs.commands.common module#

Common command-line argument interfaces.

yambs.commands.common.add_common_args(parser: ArgumentParser) None[source]#

Add common command-line arguments to a parser.

yambs.commands.common.add_config_arg(parser: ArgumentParser) None[source]#

Add an argument for specifying a configuration file.

yambs.commands.common.handle_build(args: Namespace) None[source]#

Run ‘ninja’ if some conditions are met.

yambs.commands.common.log_package() None[source]#

Log some basic package information.

yambs.commands.common.run_watch(args: Namespace, src_root: Path, command: str) int[source]#

Run the ‘watch’ command from rcmpy.

yambs.commands.compile_config module#

yambs.commands.dist module#

yambs.commands.download module#

An entry-point for the ‘download’ command.

yambs.commands.download.add_download_cmd(parser: ArgumentParser) Callable[[Namespace], int][source]#

Add download-command arguments to its parser.

yambs.commands.download.download_cmd(args: Namespace) int[source]#

Execute the download command.

yambs.commands.gen module#

yambs.commands.native module#

yambs.commands.native_manifest module#

yambs.commands.uf2conv module#

Based on: microsoft/uf2

An entry-point for the ‘uf2conv’ command.

yambs.commands.uf2conv.add_uf2conv_cmd(parser: ArgumentParser) Callable[[Namespace], int][source]#

Add uf2conv-command arguments to its parser.

yambs.commands.uf2conv.error(msg) None[source]#

Print an error message and exit the program.

yambs.commands.uf2conv.uf2conv_cmd(args: Namespace) int[source]#

Execute the uf2conv command.

Module contents#