> https://docs.python.org/3/library/argparse.html is great
Argparse is okay (and being in stdlib makes it always-available), but it's no click. https://click.palletsprojects.com/en/7.x/
Argparse is okay (and being in stdlib makes it always-available), but it's no click. https://click.palletsprojects.com/en/7.x/
Is that really reasonable sounding to most people for parsing CLI input/output and display manpages or helptext?
The case I used it for was much more complex. What I liked about it was the easy to use API, clear documentation & examples, and readable patterns.
For simple text display, I like the solution from the article, and I learned something new about bash scripts. Also, I learned from comments you can use heredoc in bash!