Sllambias / yucca

Apache License 2.0
17 stars 2 forks source link

Make yucca subcommands! #187

Open asbjrnmunk opened 2 months ago

asbjrnmunk commented 2 months 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.