AtomShields Cli is a Command-Line Interface to use the software AtomShields
pip install atomshieldscli
ascli <action> <context> --target <path> --name <project_name>
The allowed action values are:
- install: To install a checker or a report, depending the context setted.
- uninstall: To uninstall a checker or a report, depending the context setted.
- run: To run the scan.
- show: To show a checker list or a report list, depending the context setted.
- help: Show the help
The allowed context values are:
- checkers: Operate with checkers
- reports: Operate with reports
The target option set the path to scan, or the plugin (checker/report) to install/uninstall.
ascli show checkers
ascli show reports
ascli install checkers --target path/to/file.py
ascli install reports --target path/to/file.py
ascli uninstall checkers --target path/to/file.py
or
ascli uninstall checkers --target checker_name
ascli uninstall reports --target path/to/file.py
or
ascli uninstall reports --target checker_name
ascli run --target path/to/file.py --name repo_name