Sllambias / yucca

Apache License 2.0
14 stars 1 forks source link

Make yucca subcommands! #187

Open asbjrnmunk opened 4 weeks ago

asbjrnmunk commented 4 weeks ago

I think it would be cleaner if we only took up one name in the global namespace so we have

yucca preprocess instead of yucca_preprocess (and so forth).

This is natively supported by argparse using the concept of sub-commands and sub-parsers, see https://docs.python.org/3/library/argparse.html#sub-commands.