Metadata-Version: 2.1
Name: encapsia-cli
Version: 0.1.12
Summary: Client CLI for talking to an Encapsia system.
Home-page: https://github.com/tcorbettclark/encapsia-cli
License: MIT
Keywords: encapsia,eSource,EDC,Clinical Trials
Author: Timothy Corbett-Clark
Author-email: timothy.corbettclark@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: awscli (>=1.16,<2.0)
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: click-completion (>=0.5.0,<0.6.0)
Requires-Dist: click-shell (>=1.0,<2.0)
Requires-Dist: encapsia-api (>=0.1.19,<0.2.0)
Requires-Dist: http-prompt (>=1.0,<2.0)
Requires-Dist: httpie (>=1.0,<2.0)
Requires-Dist: requests[security] (>=2.20,<3.0)
Requires-Dist: tabulate (>=0.8.3,<0.9.0)
Requires-Dist: toml (>=0.10.0,<0.11.0)
Description-Content-Type: text/markdown

# 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?
