A Regular CLI
Project description
ARC: A Regular CLI
A tool for building declartive, and highly extendable CLI systems for Python 3.9
ARC Features
- Automatic type convertsion
- Command Namespacing
- Help Documentation Generation
- User-extension via Dynamic namespace loading
Docs
Installation
$ pip install arc-cli
Clone for development
$ git clone https://github.com/seanrcollings/arc
$ pip install -e arc
Quick Start
from arc import CLI
cli = CLI()
@cli.command()
def hello():
print("Hello, World!")
cli()
$ python example.py hello
Hello, World!
Reference getting started for more info
Tests
Run the full test suite with
$ python3 -m tests
Run a specific test case with
$ python3 -m tests [TEST CASE]
My Goals
- Make a fully functioning, easy to use CLI creator
- Teach myself how to upload and maintain package on PyPi
- Do not rely on any third party packages (crazy, I know)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arc-cli-2.4.1.linux-x86_64.tar.gz
(79.5 kB
view hashes)
Built Distribution
arc_cli-2.4.1-py3-none-any.whl
(42.6 kB
view hashes)
Close
Hashes for arc-cli-2.4.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e1dbc644b61abf41238f0ddab3a67e8a7bb4b0044abe78f174a4a82dfd6afe |
|
MD5 | 98e32dd751b7dc311b2926ead39b244c |
|
BLAKE2b-256 | 59b85789b435c95d9abf8499a71015264e8bf6f94cad1f640082104da909f8ce |