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 tcc24 --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
- Ensure "tests" run ok (see above).
- Run:
black .
- Run:
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width=88 -y
- Run:
flake8 --ignore=E501 .
- Ensure git tag, package version, and
enacpsia_cli.__version__
are all equal.
TODO
-
Add sending files to views and tasks.
-
Add saving output from views and tasks to a file.
-
Add "encapsia run job" command
-
Use click-web to create an encapsia webserve command?? Put in a plugin?
-
Validate input to plugins uninstall
-
Sync with https://bitbucket.org/cmedtechnology/icetools/src/6f7008db6133?at=refactor_tools
-
Check out https://bitbucket.org/cmedtechnology/iceapi/src/6a1093e0ae91/iceapi/?at=add_api
-
ice-copy-entities
-
ice-trialconfig
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
Built Distribution
Hashes for encapsia_cli-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c90b17877d3c16953c3fe1fa8c6f9e80d270dea1be9e92b847f62cfb2b1194e |
|
MD5 | 5984d24023812eb39d8393c4bb1c0cff |
|
BLAKE2b-256 | f0e401a9dfb0b05b8b4414d8c62fb600966eb1ab00ebb98b22e763132593b738 |