Client CLI for talking to an Encapsia system.
Project description
About
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.
Autocomplete
Setup autocomplete using the instructions found on https://github.com/click-contrib/click-completion
Tests
See the walkthrough_tests
directory for bash scripts which exercise the CLI.
Run them e.g. with:
bash walkthrough_tests/all.sh
or test specific subcommands with:
bash walkthrough_tests/token.sh
Note that these tests are not self-verifying; they just provide helpful coverage, assurance, and working documentation.
Release checklist
- Run:
black .
- Run:
isort
- Run:
flake8 .
- Run:
mypy .
- Ensure "tests" run ok (see above).
- Capture test output and commit with:
bash walkthrough_tests/all.sh 2>&1 | ansi2html -f 80% >WALKTHROUGH.html
- Create
requirements.txt
for Snyk scanning with:poetry export -f requirements.txt >requirements.txt
- Ensure git tag, package version, and
enacpsia_cli.__version__
are all equal.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
encapsia-cli-0.3.1.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for encapsia_cli-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce44ea4dce0e8212f36b0d3e6540e002b3edd139301920cb3dd7247999a3bfc |
|
MD5 | aff2a8014389d7d0a42d017aea5d81c8 |
|
BLAKE2b-256 | 31c8b786bfaaaafc08e98efd8e4e1b129999564b096aaafb8d9f0e38c4567235 |