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

Shortcuts for subcommands #1125

Open
hasufell opened this issue Aug 27, 2024 · 0 comments
Open

Shortcuts for subcommands #1125

hasufell opened this issue Aug 27, 2024 · 0 comments

Comments

@hasufell
Copy link
Member

I just installed OpenSUSE and it has these neat 2-char shorcuts for subcommands:

  Software Management:

      install, in           Install packages.
      remove, rm            Remove packages.
      removeptf, rmptf      Remove (not only) PTFs.
      verify, ve            Verify integrity of package dependencies.
      source-install, si    Install source packages and their build dependencies.
      install-new-recommends, inr
                            Install newly added packages recommended by installed packages.

I think I want to replicate that. Doesn't seem easily possible with optparse-applicative though. I've been dissatisfied with it for a while and wonder if migrating away might be feasible (or rolling our own).

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

No branches or pull requests

1 participant