A Regular CLI
Project description
ARC: A Regular CLI
A tool for building easy, and highly extendable CLI systems for Python 3.8
Docs
Installation
From GitHub
$ git clone https://github.com/seanrcollings/cli
$ pip install -e cli
Quick Start
from arc import CLI
cli = CLI()
@cli.script("hello")
def hello():
print("Hello, World!")
cli()
$ python example.py hello
Hello, World!
Tests
Run the full test suite with
$ python3 -m tests
Run a specific test case with
$ python3 -m tests [TEST CASE]
Reference getting started for more info
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-0.5.1.tar.gz
(7.2 kB
view hashes)