k-katfish / pylongver

PyLongVer is a utility to print a long version message about your python code.
Other
0 stars 0 forks source link

Pass my program's version into the string #3

Closed k-katfish closed 1 month ago

k-katfish commented 1 month ago

Similar to the default argparse action='version' action, I want to be able to say:

parser.add_argument('--version', action=LongVersion, version="%(prog)s 1.0")
k-katfish commented 1 month ago

closed by 0382ae8