# OpenCLI
A CLI for every service which exposes a OpenAPI (Swagger) specification endpoint.
From the OpenAPI Specification project:
> The goal of The OpenAPI Specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
## Demo

## Docker
To start a CLI session run:
docker run -it sharbov/open-cli <swagger-spec-url>
e.g:
docker run -it sharbov/open-cli http://petstore.swagger.io/v2/swagger.json
## Python
### Installation
To install OpenCLI, simply:
pip install opencli
### Usage
To start a CLI session run:
open-cli <swagger-spec-url>
e.g:
For more options run:
open-cli -h
Credits
This project relies on Yelps [bravado](https://github.com/Yelp/bravado) project & on Jonathan Slenders [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit).
Metadata
Release files for opencli 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opencli-0.0.9.tar.gz | 101.9 kB | Without provenance | Details for opencli-0.0.9.tar.gz |
Release files / opencli-0.0.9.tar.gz
| Download URL | opencli-0.0.9.tar.gz |
|---|---|
| Size | 101.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99803fa7a9775c47675bb264905d70012b6976331203b18c8ecf7b96d0315846
|
|
BLAKE2b-256 checksum How to use checksums |
ff20a10dc4d7190b6df68f702933994d3dd34f44688f372d1365bd87f2f4b42d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for opencli 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.