Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
noitpmeder
on June 4, 2024
|
parent
|
context
|
favorite
| on:
Python's many command-line utilities
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.
kstrauser
on June 4, 2024
[–]
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:
Similar to what the `git` suite provides.