Skip to content

Commit

Permalink
feat: zinit completion improvements
Browse files Browse the repository at this point in the history
- Add all subcommand short & long flags
- Handle mutually exclusive options. For example, a user shouldn't be
  able to select the `--all` flag and a plugin in `zi delete` but should
  be able to select the `--yes` or `--quiet`
- Handle the zinit limitation of only taking one plugin in various
  commands (i.e., delete, uncompiled)

Examples:
- Don't show users plugins in the `zi delete` when they have already
  selected one to avoid an error.
- Only let the user select one flag option in `zinit time`.

Signed-off-by: Vladislav Doster <[email protected]>
  • Loading branch information
vladdoster committed Mar 27, 2023
1 parent 8e3d2ee commit b8d12e5
Show file tree
Hide file tree
Showing 2 changed files with 821 additions and 337 deletions.
Loading

0 comments on commit b8d12e5

Please sign in to comment.