Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 427 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 427 Bytes

create-a-cli

Create command line interfaces using Python

Installation

[python | python3] -m [pip | pip3] install create-a-cli

Usage

from cli import Interface
cli = Interface("Example CLI")

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

cli.run()
Command Line > python path/to/file.py
>>> hello
Hello World