afe.driver.cli.commands

The command line driver code. This code executes the commands that were constructed by the command line parser.

Attributes

saved_compilation_job

Functions

receive_compilation_job(...)

Run the given code to set the global compilation job and then

interpret_importer_params(...)

Make an ImporterParams from the data in command line arguments that describes how to import

compile_command(args)

Module Contents

afe.driver.cli.commands.saved_compilation_job: afe.apis.compilation_job.CompilationJob | None = None[source]
afe.driver.cli.commands.receive_compilation_job(process: Callable[[], None]) afe.apis.compilation_job.CompilationJob[source]

Run the given code to set the global compilation job and then read the value that was set.

afe.driver.cli.commands.interpret_importer_params(args) afe.load.importers.general_importer.ImporterParams[source]

Make an ImporterParams from the data in command line arguments that describes how to import a model.

Parameters:

args – Parsed command line arguments

afe.driver.cli.commands.compile_command(args)[source]