Hacker News new | ask | show | jobs
by _rerr 2302 days ago
You should check out click : https://click.palletsprojects.com/en/7.x/

It is very powerful, uses special files stdin/stdout when file argument is "-", supports groups, subcommands...