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
-
Run
... and enter the rule's name./start_cli add rule
-
Run
... and enter the role's name./start_cli add role
-
Run
... and enter the rule's and role's names./start_cli connect
List existing projects
./start_cli list projects
Remove project
./start_cli remove
Build documentation
pip install mkdocs
pip install mkdocs-material
mkdocs serve