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
- Run:
flake8 .
- Ensure "tests" run ok (see above). Also capture output and commit with:
bash walkthrough_tests/all.sh --host localhost --example-plugin-src ../inf-ice-example-plugin/ 2>&1 | ansi2html -f 80% >WALKTHROUGH.html
- Run:
poetry export -f requirements.txt >requirements.txt
(for snyk scanning) - 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.2.0.tar.gz
(17.2 kB
view details)
Built Distribution
File details
Details for the file encapsia-cli-0.2.0.tar.gz
.
File metadata
- Download URL: encapsia-cli-0.2.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b5d80ee83e44934a88d4f632cb651473d29471dcab9e5f256cc4125ad366f4 |
|
MD5 | c39089a0e7c79311f5ae28fb572d0f4f |
|
BLAKE2b-256 | 69bfbe6eb78f940afb56ca6033a8dfcabb29e3075242a3c42222fd47762dbe98 |
File details
Details for the file encapsia_cli-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: encapsia_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39025c71b5f26e48ae63b00f335ce70dcb23084a2b2bc4da9db7e410596559cb |
|
MD5 | 044e5e00517281e08dbd0ee2320ace5d |
|
BLAKE2b-256 | 4e3e0f0af360e168a1d4bc94edddde708b8a09152cf7275ed73f890591c07ffb |