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

"merge" python tools #428

Open
goerlibe opened this issue Oct 26, 2023 · 0 comments
Open

"merge" python tools #428

goerlibe opened this issue Oct 26, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@goerlibe
Copy link
Collaborator

our tool suite is growing larger and larger, now we have 6 entry points defined in setup.py.

We could "merge" them into a single discopop tool similar to the git command line interface which has a single git tool where the first argument defines which subtool to run (git commit, git rebase, ... ==> discopop profile, discopop explore, ...) .

Argparse has a feature where you can define subparsers (argparse subparser example) so it should be quite easy to implement.

The only downside I can think of: bash will not autocomplete when pressing tab. (possible solution for autocomplete which could actually be a really nice additional feature on its own, but it seems kind of an extra hassle to setup)

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

No branches or pull requests

2 participants