[CmdTree] sub-command friendly cli library for python : )

Kidney Win winkidney at gmail.com
Tue Aug 30 06:25:32 EDT 2016


Hi there,

I'm winkidney:), Recently when I work on a cli auto-generating task, I tryed "click" and "argparse" to handle it.

But I have to write a library myself to do this job finally.

I wish this library helps you :)

Project Github Repo: https://github.com/winkidney/cmdtree



Why CmdTree?

Alternatives:

click library
argparse library

But when you should choose cmdtree?

If you need:

+ fully sub-command support(not group in click)
+ Higher-level api support(compare to argparse)
+ More arg-type support(compare to argparse)
+ decorators has no side-effect on function call

You may be a proper user of CmdTree

Best wishes



More information about the Python-list mailing list