Skip to main content

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 <host> --example-plugin-src ../inf-ice-example-plugin/ 2>&1 | ansi2html -f 80% >WALKTHROUGH.html
  • 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.1.17.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

encapsia_cli-0.1.17-py3-none-any.whl (18.3 kB view hashes)

Uploaded Python 3

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