Open pfuntner opened 4 years ago
I created a new prototype repository (private... shhhhhh!) and have a solution for argparse
that's pretty close to what I had in mind: https://github.com/pfuntner/proto/tree/master/argparse.
I might try a prototype of logging too.
logging
was more simple than argparse
: https://github.com/pfuntner/proto/tree/master/logging
Next I want to unite the two into a single practical example. I may be close to promoting this stuff to my toys repo.
It would be nice to have Bash versions of the Python argparse & logging libraries. Though I don't write in Bash version very often there is sometimes a need and it could be a nice exercise anyway.
The object-oriented aspect of the use must be addressed. So instead of doing something in Python like:
it could be done in Bash like:
I'm not sure if this is possible or not but it could be fun!