atomshieldscli-1.9
توضیحات
Command-Line Interface for atomshields package.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | atomshieldscli-1.9 |
| نام | atomshieldscli |
| نسخه کتابخانه | 1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ElevenPaths |
| ایمیل نویسنده | diego.fernandez@11paths.com, david.amrani@11paths.com |
| آدرس صفحه اصلی | https://github.com/ElevenPaths/AtomShields-cli |
| آدرس اینترنتی | https://pypi.org/project/atomshieldscli/ |
| مجوز | Apache 2.0 |
AtomShields Cli
===============
AtomShields Cli is a Command-Line Interface to use the software `AtomShields <https://github.com/ElevenPaths/AtomShields>`_
.. raw:: html
<a href="https://asciinema.org/a/l87EfxU2e3eNpwQ9F8Sbhpk3q?autoplay=1" target="_blank"><img src="https://asciinema.org/a/l87EfxU2e3eNpwQ9F8Sbhpk3q.png" width="835"/></a>
Installation
------------
.. code-block:: shell
pip install atomshieldscli
Basic usage
-----------
.. code-block:: shell
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.
Show all checkers
-----------------
.. code-block:: shell
ascli show checkers
------------------------------------------------------------------------------------------
Show all reports
----------------
.. code-block:: shell
ascli show reports
------------------------------------------------------------------------------------------
Install checker
---------------
.. code-block:: shell
ascli install checkers --target path/to/file.py
------------------------------------------------------------------------------------------
Install report
--------------
.. code-block:: shell
ascli install reports --target path/to/file.py
------------------------------------------------------------------------------------------
Uninstall checker
-----------------
.. code-block:: shell
ascli uninstall checkers --target path/to/file.py
or
.. code-block:: shell
ascli uninstall checkers --target checker_name
------------------------------------------------------------------------------------------
Uninstall report
----------------
.. code-block:: shell
ascli uninstall reports --target path/to/file.py
or
.. code-block:: shell
ascli uninstall reports --target checker_name
------------------------------------------------------------------------------------------
Run the scan
------------
.. code-block:: shell
ascli run --target path/to/file.py --name repo_name
نحوه نصب
نصب پکیج whl atomshieldscli-1.9:
pip install atomshieldscli-1.9.whl
نصب پکیج tar.gz atomshieldscli-1.9:
pip install atomshieldscli-1.9.tar.gz