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
$ poetry install
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
Tests are written with pytest
$ pytest
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-3.0.0b2.tar.gz
(31.5 kB
view hashes)
Built Distribution
arc_cli-3.0.0b2-py3-none-any.whl
(44.4 kB
view hashes)
Close
Hashes for arc_cli-3.0.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287e8ed5039795b850be8b9c9f5a03980dda798618a8d8de1dc1ca25b73db8ed |
|
MD5 | 909618ba98e485aa5b3063dd9f018659 |
|
BLAKE2b-256 | 2acde2de3a9f9dce9f4b059439b96d6fa5a300af99afe558d7d7230b209bac70 |