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 --host <host> --example-plugin-src ../inf-ice-example-plugin/
Note that these tests are not self-verifying; they just provide helpful coverage, assurance, and working documentation.
Release checklist
- Run:
black .
- Run:
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width=88 -y
- Run:
flake8 --ignore=E501 .
- Ensure "tests" run ok (see above). Also capture output and commit with:
bash walkthrough_tests/all.sh --host <host> --example-plugin-src ../inf-ice-example-plugin/ 2>&1 | ansi2html -f 80% >WALKTHROUGH.html
- Ensure git tag, package version, and
enacpsia_cli.__version__
are all equal.
TODO
- Feature: Add package command for running standard tasks
- Feature: Add "encapsia plugins reactor" to forward local calls to remote for even easier dev without installing anything except the SQL.
- Feature: Use click-web to create an encapsia webserve command?? Put in a plugin?
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.1.13.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for encapsia_cli-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4227fe87d8fbf9adca8ad0a185100f4f06744ceb53f466594a0ec4049e1427c1 |
|
MD5 | b8eb6aea6576b0da90177f2d0cc91e81 |
|
BLAKE2b-256 | c2cdd83eb5010ac36cc7409e666ef4ddf1668f353d072a4f71c46ce53dae6cb0 |