Skip to main content

A Regular CLI

Project description

ARC: A Regular CLI

A tool for building declartive, and highly extendable CLI systems for Python 3.9

ARC Features

  • Command line arguments based on python type hints
  • Arbitrary command nesting
  • Automatic --help documentation
  • Dynamic command loading at runtime


Quick Start

import arc

def hello(name: str):
    """My first arc program!"""
    arc.arc.print(f"Hello {name}!")

$ python Sean
Hello, Sean!
USAGE [-h] [--] name

    My first arc program!


    --help (-h)  Displays this help message


$ pip install arc-cli

Clone for development

$ git clone
$ poetry install


Tests are written with pytest

$ pytest

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

Uploaded source

Built Distribution

arc_cli-8.0.0-py3-none-any.whl (78.0 kB view hashes)

Uploaded py3

Supported by

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