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

  • Automatic type convertsion
  • Command Namespacing
  • Help Documentation Generation
  • User-extension via Dynamic namespace loading

Docs

Installation

$ pip install arc-cli

Clone for development

$ git clone https://github.com/seanrcollings/arc
$ poetry install

Quick Start

from arc import CLI

cli = CLI()

@cli.command()
def hello():
    print("Hello, World!")

cli()
$ python example.py hello
Hello, World!

Reference getting started for more info

Tests

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

Uploaded Source

Built Distribution

arc_cli-5.0.0-py3-none-any.whl (58.2 kB view hashes)

Uploaded Python 3

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