Skip to content

quick-sort/cli_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Cli Tempalte

uv run python app/cli/main.py echo test

Add new command file in app/cli folder.

For example

async def command(args):
    print(args.content)


def registry_command(subparsers):
    parser = subparsers.add_parser("echo", help="Echo command")
    parser.set_defaults(func=command)
    parser.add_argument("content", help="Echo content")
    return parser

About

Simple CLI template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages