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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: encapsia-cli-0.1.15.tar.gz
  • Upload date:
  • Size: 14.2 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.15.tar.gz
Algorithm Hash digest
SHA256 c78559f18b76e12fbbbcc7d4b7313cdf284b08d569a4cb4294d6478cee23d900
MD5 23d21cda0e5dfa01f6b0aca44fee9871
BLAKE2b-256 538e938e5a63fe206ab48ef46d798119598b1d6890e957cac210a12eb06a873c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encapsia_cli-0.1.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 7676c6e2db8c75eaadf97ee525918ee534ee043dbefb3f63495b792f844b02d0
MD5 c77392186967881e832eedbfdeb2f7c1
BLAKE2b-256 c3faaef46c2d664817930416687e25941265b003412ad51cfdf1d6e40059808d

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