llvm_snapshot_builder.cli¶
llvm_snapshot_builder.cli provides a CLI interface to the llvm_snapshot_builder
Module Contents¶
Classes¶
Prints the help message. |
Functions¶
|
Parses all arguments set up by build_main_parser() and returns the |
|
Returns the main parser for command line arguments |
|
Main function |
Attributes¶
- class llvm_snapshot_builder.cli.HelpAction(arg_parser: argparse.ArgumentParser, **kwargs)[source]¶
Bases:
llvm_snapshot_builder.actions.action.CoprActionPrints the help message.
- llvm_snapshot_builder.cli.CMD_BUILD_ALL_PACKAGES = 'build-all-packages'¶
- llvm_snapshot_builder.cli.CMD_BUILD_PACKAGES = 'build-packages'¶
- llvm_snapshot_builder.cli.CMD_CREATE_PACKAGES = 'create-packages'¶
- llvm_snapshot_builder.cli.CMD_CANCEL_BUILDS = 'cancel-builds'¶
- llvm_snapshot_builder.cli.CMD_DELETE_BUILDS = 'delete-builds'¶
- llvm_snapshot_builder.cli.CMD_DELETE_PROJECT = 'delete-project'¶
- llvm_snapshot_builder.cli.CMD_FORK_PROJECT = 'fork-project'¶
- llvm_snapshot_builder.cli.CMD_CREATE_PROJECT = 'create-project'¶
- llvm_snapshot_builder.cli.CMD_PROJECT_EXISTS = 'project-exists'¶
- llvm_snapshot_builder.cli.CMD_REGENERATE_REPOS = 'regenerate-repos'¶
- llvm_snapshot_builder.cli.cmd_action_map¶
- llvm_snapshot_builder.cli.get_action(arg_parser: argparse.ArgumentParser, arguments: list = None) llvm_snapshot_builder.actions.action.CoprAction[source]¶
Parses all arguments set up by build_main_parser() and returns the action to execute.
- Keyword Arguments:
use. (arg_parser {argparse.ArgumentParser} -- The argument parser to) –
used. (arguments {list} -- The arguments to parse. If None, sys.argv is) –