Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make yucca subcommands! #187

Open
asbjrnmunk opened this issue Sep 3, 2024 · 0 comments
Open

Make yucca subcommands! #187

asbjrnmunk opened this issue Sep 3, 2024 · 0 comments

Comments

@asbjrnmunk
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant