-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support subcommand flags in native completion engine #5284
Copy link
Copy link
Open
Labels
💸 $20A-completionArea: completion generatorArea: completion generatorC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationsE-mediumCall for participation: Experience needed to fix: Medium / intermediateCall for participation: Experience needed to fix: Medium / intermediate
Metadata
Metadata
Assignees
Labels
💸 $20A-completionArea: completion generatorArea: completion generatorC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationsE-mediumCall for participation: Experience needed to fix: Medium / intermediateCall for participation: Experience needed to fix: Medium / intermediate
#3656 added subcommand support but left out pacman-like flag subcommands.
One catch is that subcommand short flags can be conjoined with each other and regular short flags (
-Sq). If that is a hassle, we can split that out into a separate issue.We shouldn't offer hidden options by default but complete them if the user starts typing them
See #3166 for more details on native completions