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-5.0.0b1.tar.gz
(41.8 kB
view hashes)
Built Distribution
arc_cli-5.0.0b1-py3-none-any.whl
(57.7 kB
view hashes)
Close
Hashes for arc_cli-5.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f2254683658c51d7668374ba6d56f051354adebc8059cc660bd25319c5f43e |
|
MD5 | d6a66f80d11201f6beaa8f3cf2cc0ee0 |
|
BLAKE2b-256 | 299bfdab825c6694a2a0edb9c0776c9e8d5deacf350346f4550bae825b2ac328 |