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

feat: Restrict suggesitons for non multi-option options #42

Closed
4 tasks done
renancaraujo opened this issue Dec 12, 2022 · 0 comments · Fixed by #44
Closed
4 tasks done

feat: Restrict suggesitons for non multi-option options #42

renancaraujo opened this issue Dec 12, 2022 · 0 comments · Fixed by #44
Assignees
Labels
feature A new feature or request

Comments

@renancaraujo
Copy link
Contributor

renancaraujo commented Dec 12, 2022

Description

As a CLI author, Some options I received should be passed by the user only once. Unless my options are multi-options, it should not appear in completion suggestions after the user passed its value.

Requirements

  • Don't suggest parsed options
  • Take care option aliases into consideration
  • Take care abbr into consideration
  • Never complete flags twice

Additional Context

@renancaraujo renancaraujo added the feature A new feature or request label Dec 12, 2022
@renancaraujo renancaraujo self-assigned this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant