Client CLI for talking to an Encapsia system.
This package provides command line access to Encapsia over the REST API.
All of these are designed to work with server 1.5 and beyond.
Setup autocomplete using the instructions found on https://github.com/click-contrib/click-completion
poetry run pytest
walkthrough_tests directory for bash scripts which exercise the CLI.
Run them e.g. with:
poetry run bash walkthrough_tests/all.sh
or test specific subcommands with:
poetry run bash walkthrough_tests/token.sh
Note that these tests are not self-verifying; they just provide helpful coverage, assurance, and working documentation.
poetry run black .
poetry run isort .
poetry run flake8 .
poetry run mypy .
- Ensure "tests" run ok (see above).
- Capture test output and commit with:
poetry run bash walkthrough_tests/all.sh 2>&1 | poetry run ansi2html -f 80% >WALKTHROUGH.html
requirements.txtfor Snyk scanning with:
poetry export -f requirements.txt >requirements.txt
- Ensure git tag, package version, and
enacpsia_cli.__version__are all equal.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for encapsia_cli-0.5.1-py3-none-any.whl