aequilibrae.project.tools.cli#

Functions

add_subcommand_from_function(subparsers, ...)

Create a sub-command from a function's signature.

cli([argv])

Entry point for the aeq command.

list_functions(parser, args, unparsed_args)

List functions present in the run module.

run(args, unparsed_args)

Execute a function from the run module with argument parsing inferred from the function signature.

aequilibrae.project.tools.cli.add_subcommand_from_function(subparsers, func, defaults: dict)[source]#

Create a sub-command from a function’s signature.

aequilibrae.project.tools.cli.cli(argv=None)[source]#

Entry point for the aeq command. argv defaults to sys.argv, it is a parameter for testing.

aequilibrae.project.tools.cli.list_functions(parser, args, unparsed_args)[source]#

List functions present in the run module.

aequilibrae.project.tools.cli.run(args, unparsed_args)[source]#

Execute a function from the run module with argument parsing inferred from the function signature.