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
File details
Details for the file encapsia-cli-0.1.8.tar.gz
.
File metadata
- Download URL: encapsia-cli-0.1.8.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.7 Linux/4.4.0-139-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75b04ea9e1b3023676004b01811197fef05ece163d8e57de63966fac76877d61 |
|
MD5 | f137b08bd103c31978333d9d58c475aa |
|
BLAKE2b-256 | 8355735287aeb7b821c6b34d99874b7eba4c3a7dca782360d2bdd4b7b6c5ecbf |
File details
Details for the file encapsia_cli-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: encapsia_cli-0.1.8-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.7 Linux/4.4.0-139-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c90b17877d3c16953c3fe1fa8c6f9e80d270dea1be9e92b847f62cfb2b1194e |
|
MD5 | 5984d24023812eb39d8393c4bb1c0cff |
|
BLAKE2b-256 | f0e401a9dfb0b05b8b4414d8c62fb600966eb1ab00ebb98b22e763132593b738 |