encapsia-cli-0.5.4
توضیحات
Client CLI for talking to an Encapsia system.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | encapsia-cli-0.5.4 |
| نام | encapsia-cli |
| نسخه کتابخانه | 0.5.4 |
| نگهدارنده | ['Petre Mierluțiu'] |
| ایمیل نگهدارنده | ['pmierlutiu@cmedtechnology.com'] |
| نویسنده | Timothy Corbett-Clark |
| ایمیل نویسنده | timothy.corbettclark@gmail.com |
| آدرس صفحه اصلی | https://github.com/Encapsia/encapsia-cli |
| آدرس اینترنتی | https://pypi.org/project/encapsia-cli/ |
| مجوز | MIT |
# About
[](https://snyk.io/test/github/encapsia/encapsia-cli?targetFile=requirements.txt)
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
### Unit tests
Run:
poetry run pytest
### Walkthrough Tests
Prerequisite: an instance of ice must be running on your localhost, and valid token for
it must be present in your key store.
See the `walkthrough_tests` directory for bash scripts which exercise the CLI.
Run them e.g. with:
poetry run bash walkthrough_tests/all.sh
or test specific subcommands with:
poetry run bash walkthrough_tests/token.sh
Note that these tests are *not* self-verifying; they just provide helpful coverage,
assurance, and working documentation.
## Release checklist
* Run: `poetry run black .`
* Run: `poetry run isort .`
* Run: `poetry run flake8 .`
* Run: `poetry run mypy .`
* Ensure "tests" run ok (see above).
* Capture test output and commit with: `poetry run bash walkthrough_tests/all.sh 2>&1 | poetry run ansi2html -f 80% >WALKTHROUGH.html`
* Create `requirements.txt` for Snyk scanning with: `poetry export -f requirements.txt >requirements.txt`
* Ensure git tag, package version, and `encapsia_cli.__version__` are all equal.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.24.0,<3.0.0 | requests[security,socks] |
| >=7.0,<8.0 | click |
| >=0.10.0,<0.11.0 | toml |
| >=0.5.0,<0.6.0 | click-completion |
| >=2.0,<3.0 | click-shell |
| >=0.8.3,<0.9.0 | tabulate |
| >=3.1.0,<4.0.0 | httpie |
| >=0.3.3,<0.4.0 | encapsia-api |
| >=1.0,<2.0 | http-prompt |
| >=1.14.29,<2.0.0 | boto3 |
| >=2.10.2,<3.0.0 | semver |
| >=0.16.0,<0.17.0 | arrow |
| >=1.4.0,<2.0.0 | shellingham |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl encapsia-cli-0.5.4:
pip install encapsia-cli-0.5.4.whl
نصب پکیج tar.gz encapsia-cli-0.5.4:
pip install encapsia-cli-0.5.4.tar.gz