Skip to main content

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

$ 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.script("hello")
def hello():
    print("Hello, World!")

cli()

Reference getting started for more info

$ 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]

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for arc-cli, version 0.8.1
Filename, size File type Python version Upload date Hashes
Filename, size arc-cli-0.8.1.tar.gz (13.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page