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.2.tar.gz (23.9 kB view details)

Uploaded Source

File details

Details for the file arc-cli-2.0.2.tar.gz.

File metadata

  • Download URL: arc-cli-2.0.2.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for arc-cli-2.0.2.tar.gz
Algorithm Hash digest
SHA256 6568a44a7ab4c6e263101ab2d4cd42ae59a047618aee4260d7d84dcc09aed805
MD5 a9f9dbe20d97e91fc07f07674d1c6a01
BLAKE2b-256 7d115b69e1169565b4e8b0ef49bfcfd4357cea7dc6cf8ea4ae961db4282bb7de

See more details on using hashes here.

Supported by

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