I am trying to build a help message output for my custom app like Linux man does. I’ve been walking around pprint, using dictionaries, and others. But, I’m al little lost. I’m currently using a dictionary combined with print commands. Until now is enough for my needs but I must confess It’s not up to scratch.
I would like to use the flags command style, I mean, -f , -t , etc. I supose that the point of establish is to extract data using a parser o something like that.
So, in a few words, How do you guys build help messages for the properly usage of your command based apps?
optparseandargparseboth support printing usage details.