A Regular CLI
Project description
ARC: A Regular CLI
A tool for building easy, and highly extendable CLI systems for Python 3.8
Docs
- Changelog
- Getting Started
- Utilities
- Type Converters
- Context Managers
- Special Command Names
- Configuration
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("hello")
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.0.1.tar.gz
(23.9 kB
view hashes)