mass_driver.cli
Command line entrypoint for mass-driver
Module Contents
Functions
Create the initial parser |
|
Inject the repo-path/repo-filelist group of args |
|
Add the cache/no-cache arguments |
|
Add the Activity file selector argument |
|
Add the output files argument |
|
Inject a generic subparser for listing out plugin details |
|
Inject the run subparser |
|
Inject the scanners subparser |
|
Inject the view PR subparser |
|
Add the subparsers for all commands |
|
Run the mass_driver cli |
|
Run mass-driver as CLI, not from API call |
API
- mass_driver.cli.repo_list_group(subparser: argparse.ArgumentParser)[source]
Inject the repo-path/repo-filelist group of args
- mass_driver.cli.cache_arg(subparser: argparse.ArgumentParser)[source]
Add the cache/no-cache arguments
- mass_driver.cli.activity_arg(subparser: argparse.ArgumentParser)[source]
Add the Activity file selector argument
- mass_driver.cli.jsonout_args(subparser: argparse.ArgumentParser)[source]
Add the output files argument
- mass_driver.cli.plugin_subparser(subparser, plugin: str, func: Callable)[source]
Inject a generic subparser for listing out plugin details