Get karmantra

git clone ssh://git@gitlab.klips-ulm.de:2222/external-projects/self-managed-roles.git karmantra
cd karmantra
pip3 install -r requirements.txt
make test

Example CLI functions

Execute from directory src!

List CLI possibilities

./start_cli --help

Initialize project

./start_cli init

Add and connect rule and role

  1. Run

    ./start_cli add rule
    
    ... and enter the rule's name

  2. Run

    ./start_cli add role
    
    ... and enter the role's name

  3. Run

    ./start_cli connect
    
    ... and enter the rule's and role's names

List existing projects

./start_cli list projects

Remove project

./start_cli remove

Build documentation

pip install mkdocs
pip install mkdocs-material
mkdocs serve