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.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


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.tar.gz (23.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page