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.

TODO

  • Feature: Add plugins command for linting e.g. consistency of capabilities
  • Feature: Add package command for running standard tasks
  • Feature: Add "encapsia plugins reactor" to forward local calls to remote for even easier dev without installing anything except the SQL.
  • Feature: Use click-web to create an encapsia webserve command?? Put in a plugin?

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

Uploaded Source

Built Distribution

encapsia_cli-0.1.14-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: encapsia-cli-0.1.14.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.7 Linux/4.4.0-157-generic

File hashes

Hashes for encapsia-cli-0.1.14.tar.gz
Algorithm Hash digest
SHA256 d91b6ebed7184217297e9cbae7d2ee2f43bebbcdbfa1b8e26432f6344269ca68
MD5 d29ab754d0156102c68d26cf5db56d69
BLAKE2b-256 fd703de08df5b7c5b4ffa4b6326eaca8b58fc29c08c39b3f6038a54642610220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encapsia_cli-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.7 Linux/4.4.0-157-generic

File hashes

Hashes for encapsia_cli-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e1bda3bb441e9e0b1bacacc3f327f90a2512962d4b0023d31b053097157a11a8
MD5 417179b61fb6475e29a97707a5a55fae
BLAKE2b-256 d0aacad2081b57442aacafa720e339f0de1a71dfab95771747ca31ad56dab5b1

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