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-4.0.0.tar.gz
(39.3 kB
view hashes)
Built Distribution
arc_cli-4.0.0-py3-none-any.whl
(53.9 kB
view hashes)