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 (once PR accepted)
-
Use click-web to create an encapsia webserve command?? Put in a plugin?
-
Validate input to plugins uninstall
-
Add an "encapsia plugins dev-server" command to forward calls to localhost to remote, thus allowing easier dev without installing anything except the SQL.
-
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.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c018af8e86f3a4c64b121858f22218a7e9120e1460755ce1f634149aface35 |
|
MD5 | 90167076da65c98a17303526882557cb |
|
BLAKE2b-256 | 08ebb3bad0f3792f900a6d158f93a122ab8bae36017844a6b4f84a0276ac3031 |