python3-autocommand

library to generate argparse parsers from function signatures
  https://github.com/Lucretiel/autocommand
  0
  no reviews



Autocommand is a library to automatically generate and run simple argparse parsers from function signatures.

It turns a function into a command-line program, converting the function's parameter signature into command-line arguments, and automatically running the function with these arguments if the module was called as __main__. Usage messages, invoked with -h or --help, are also created automatically.