Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've reached for click when I need to create a layered command scheme .. ex where `mytool command1 --help` and `mytool command2 --help` would provide two different sets of arguments.

Similar to what the `git` suite provides.



The argparse version of that is `add_subparsers`: https://docs.python.org/3/library/argparse.html#argparse.Arg...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: