Base definitions for command line

orion.core.cli – Base class and function utilities for cli

class orion.core.cli.base.OrionArgsParser(description='norion:n Orion cli script for asynchronous distributed optimizationnn')[source]

Parser object handling the upper-level parsing of Oríon’s arguments.

Methods

execute(self, argv) Execute main function of the subparser
get_subparsers(self) Return the subparser object for this parser.
parse(self, argv) Call argparse and generate a dictionary of arguments’ value
execute(self, argv)[source]

Execute main function of the subparser

get_subparsers(self)[source]

Return the subparser object for this parser.

parse(self, argv)[source]

Call argparse and generate a dictionary of arguments’ value

orion.core.cli.base.get_basic_args_group(parser)[source]

Return the basic arguments for any command.

orion.core.cli.base.get_user_args_group(parser)[source]

Return the user group arguments for any command. User group arguments are composed of the user script and the user args