Skip to main content

Command-Line Interface for atomshields package.

Project description


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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atomshieldscli-1.10.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file atomshieldscli-1.10.tar.gz.

File metadata

  • Download URL: atomshieldscli-1.10.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for atomshieldscli-1.10.tar.gz
Algorithm Hash digest
SHA256 2875cc7fffd4e40d2f0d628dacb913db54eb0958aa869ca7b0bb4e3258d78bb6
MD5 9d4fc15b261a07a01d5f41cd9c6712a0
BLAKE2b-256 c81a2b04dd3506818d0c9ad0d6910e0bbba7ab0cd1773411f3424abb251d35c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page