Skip to content

Dorukyum/create-a-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create command line interfaces using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages