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 --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width=88 -y
  • Run: flake8 --ignore=E501 .
  • 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 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.11.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encapsia-cli-0.1.11.tar.gz
Algorithm Hash digest
SHA256 18e11a36696a7a6042452f17727be2e5f98e8099af567522cb5dcddb3261b5f9
MD5 d1572079af9b0b7cabf35b0eb3765ac3
BLAKE2b-256 a715211a2727126a941d8aa783bcaa794b5e51d4f530b06bf4c981bb84edd237

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encapsia_cli-0.1.11-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-148-generic

File hashes

Hashes for encapsia_cli-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ba8e860440f3f23270caf7818f2e5522c8078c1dc8e86e07a611c4f4fdc06c
MD5 a963240764ecba488bad9c5842fcb247
BLAKE2b-256 9523ae2e3d88a1a048a2c543c5fe2a42bb80d38fea7d690cee07eea5b89df355

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