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

  • 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
  • Run: black .
  • Run: isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width=88 -y
  • Run: flake8 --ignore=E501 .
  • Ensure git tag, package version, and enacpsia_cli.__version__ are all equal.

TODO

  • Bug: encapsia plugins dev-update caches incorrectly when an upload fails.
  • Feature: Add receiving files from tasks
  • Feature: Add sending files to views
  • Featuer: Add package command for running standard tasks
  • Bug: Validate input to plugins uninstall
  • 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.10.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

encapsia_cli-0.1.10-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: encapsia-cli-0.1.10.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.6.7 Linux/4.4.0-139-generic

File hashes

Hashes for encapsia-cli-0.1.10.tar.gz
Algorithm Hash digest
SHA256 d1e8df7746a2dbe16ba970a51f5c7a47d0c9cf7ac13d689fc8f8bb8c4a0e9687
MD5 9a346d518e1065d0f8b1f6fb2fd19f68
BLAKE2b-256 496238539b71d904bc2819d1eac1f4a10d29e0df4b744bf5c7bdcb8134a1bde1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for encapsia_cli-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 337f33850334ea300809412b5a74d0c106bf624e05614c696a662cee0478bfd8
MD5 6b319e7b841c8d7b31e020a9c77cb01d
BLAKE2b-256 b02a6cce24303ecb1b637c88931a5fc286d93856db4840fad45b4911462ed6ba

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