We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Positional completion gets repeated when flag parsing is disabled:
example disabled p1 p2 po<TAB> # positional1
Nothing should be completed on the third position.
No response
0.47.2
package cmd import ( "github.com/rsteube/carapace" "github.com/spf13/cobra" ) var disabledCmd = &cobra.Command{ Use: "disabled", Short: "", DisableFlagParsing: true, Run: func(cmd *cobra.Command, args []string) {}, } func init() { carapace.Gen(disabledCmd).Standalone() rootCmd.AddCommand(disabledCmd) carapace.Gen(disabledCmd).PositionalCompletion( carapace.ActionValues("p1", "positional1"), carapace.ActionValues("p2", "positional2"), ) }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Current Behavior
Positional completion gets repeated when flag parsing is disabled:
Expected Behavior
Nothing should be completed on the third position.
Steps To Reproduce
No response
Version
0.47.2
OS
Shell
Anything else?
The text was updated successfully, but these errors were encountered: