Skip to main content

Client CLI for talking to an Encapsia system.

Project description

About

Known Vulnerabilities

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

See the walkthrough_tests directory for bash scripts which exercise the CLI.

Run them e.g. with:

bash walkthrough_tests/all.sh

or test specific subcommands with:

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: bash walkthrough_tests/all.sh 2>&1 | 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 enacpsia_cli.__version__ are all equal.

Project details


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.5.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

encapsia_cli-0.5.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file encapsia-cli-0.5.0.tar.gz.

File metadata

  • Download URL: encapsia-cli-0.5.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.9 Darwin/20.5.0

File hashes

Hashes for encapsia-cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a3b2d7eeeeb773c0a5f3c54d33d214c3722794b6423d6f002f93edd4bc3448a7
MD5 85471f786e0a25174b52e4c54a5788ac
BLAKE2b-256 5b5baeb211618ddb5e1327643b691b986c43aef20f2422ccbecd7a38f8670343

See more details on using hashes here.

File details

Details for the file encapsia_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: encapsia_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.9 Darwin/20.5.0

File hashes

Hashes for encapsia_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18b5fbce7878dc6baa14b5e2717e0f7918a6eb8be9d8e664cc009d0c16bac5f8
MD5 b04f30a697a17287e604d5af66cdbcb3
BLAKE2b-256 22ee0ad06589929121bda93290e786388a5af890af9012ddc9e494d27bfd1826

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page