mlonmcu.cli package

Subpackages

Submodules

mlonmcu.cli.build module

Command line subcommand for the build process.

mlonmcu.cli.build.add_build_options(parser)[source]
mlonmcu.cli.build.get_parser(subparsers, parent=None)[source]

“Define and return a subparser for the build subcommand.

mlonmcu.cli.build.handle(args, ctx=None, require_target=False)[source]

mlonmcu.cli.cleanup module

Command line subcommand for cleaning up the current environment.

mlonmcu.cli.cleanup.get_parser(subparsers)[source]

“Define and return a subparser for the cleanup subcommand.

mlonmcu.cli.cleanup.handle(args)[source]

mlonmcu.cli.common module

mlonmcu.cli.common.add_common_options(parser)[source]
mlonmcu.cli.common.add_context_options(parser, with_home=True)[source]
mlonmcu.cli.common.add_flow_options(parser)[source]
mlonmcu.cli.common.add_model_options(parser)[source]
mlonmcu.cli.common.handle_logging_flags(args)[source]
mlonmcu.cli.common.kickoff_runs(args, until, context)[source]

mlonmcu.cli.compile module

Command line subcommand for the run process.

mlonmcu.cli.compile.add_compile_options(parser)[source]
mlonmcu.cli.compile.check_args(context, args)[source]
mlonmcu.cli.compile.get_parser(subparsers)[source]

“Define and return a subparser for the compile subcommand.

mlonmcu.cli.compile.handle(args, ctx=None)[source]

mlonmcu.cli.env module

Command line subcommand for manaing environments.

class mlonmcu.cli.env.EnvironmentHint(name, path, created_at=None)[source]

Bases: object

mlonmcu.cli.env.get_parser(subparsers)[source]

“Define and return a subparser for the env subcommand.

mlonmcu.cli.env.handle(args)[source]
mlonmcu.cli.env.lookup_user_environments(file)[source]

mlonmcu.cli.export module

Command line subcommand for exporting session and runs.

mlonmcu.cli.export.add_export_options(parser)[source]
mlonmcu.cli.export.get_parser(subparsers)[source]

“Define and return a subparser for the cleanup subcommand.

mlonmcu.cli.export.handle(args)[source]

mlonmcu.cli.flow module

Command line subcommand for invoking the mlonmcu flow.

mlonmcu.cli.flow.get_parser(subparsers, parent=None)[source]

“Define and return a subparser for the flow subcommand.

mlonmcu.cli.flow.handle(args)[source]

Callback function which will be called to process the flow subcommand

mlonmcu.cli.flow.handle_list_targets(args)[source]

mlonmcu.cli.init module

Command line subcommand for initializing a mlonmcu environment.

mlonmcu.cli.init.add_init_options(parser)[source]
mlonmcu.cli.init.get_parser(subparsers)[source]

“Define and return a subparser for the init subcommand.

mlonmcu.cli.init.handle(args)[source]

Callback function which will be called to process the init subcommand

mlonmcu.cli.load module

Command line subcommand for the load stage.

mlonmcu.cli.load.add_load_options(parser)[source]
mlonmcu.cli.load.get_parser(subparsers)[source]

“Define and return a subparser for the load subcommand.

mlonmcu.cli.load.handle(args, ctx=None)[source]

mlonmcu.cli.main module

Console script for mlonmcu.

mlonmcu.cli.main.handle_docker(args)[source]
mlonmcu.cli.main.main(args=None)[source]

Console script for mlonmcu.

mlonmcu.cli.models module

Command line subcommand for managing models.

mlonmcu.cli.models.add_models_options(parser)[source]
mlonmcu.cli.models.get_parser(subparsers)[source]

“Define and return a subparser for the models subcommand.

mlonmcu.cli.models.handle(args)[source]

mlonmcu.cli.run module

Command line subcommand for the run process.

mlonmcu.cli.run.add_run_options(parser)[source]
mlonmcu.cli.run.check_args(context, args)[source]
mlonmcu.cli.run.get_parser(subparsers)[source]

“Define and return a subparser for the run subcommand.

mlonmcu.cli.run.handle(args)[source]

mlonmcu.cli.setup module

Command line subcommand for installing a mlonmcu environment.

mlonmcu.cli.setup.add_setup_options(parser)[source]
mlonmcu.cli.setup.get_parser(subparsers)[source]

“Define and return a subparser for the setup subcommand.

mlonmcu.cli.setup.handle(args)[source]

mlonmcu.cli.tune module

Command line subcommand for the tune stage.

mlonmcu.cli.tune.get_parser(subparsers, parent=None)[source]

“Define and return a subparser for the tune subcommand.

mlonmcu.cli.tune.handle(args, ctx=None)[source]

Module contents

Submodule handling the command line interface for mlonmcu.