|
|
|
|
|
by shangxiao
1714 days ago
|
|
I don't have a startup but I did make a useful little Python library while at my previous job to help ease the pain with using argparse to make CLIs. It's called bargeparse [1]. The idea is to define an entry point function and use its signature as a means to declare the CLI arguments & options. I was surprised at how well Python's syntax for function arguments works for this... especially the use of pos-only & keyword-only arguments to force a particular style. [1] https://github.com/shangxiao/bargeparse |
|
I've taken the liberty to post your project to my Python news aggregator over here[1].
[1] https://news.python.sc/item/0d111c5d-0eff-41d5-8d5c-ecb18301...