package
1.0.6
Repository: https://github.com/open-hand/helm.git
Documentation: pkg.go.dev

# Functions

CompDebug prints the specified string to the same file as where the completion script prints its logs.
CompDebugln prints the specified string with a newline at the end to the same file as where the completion script prints its logs.
CompError prints the specified completion message to stderr.
CompErrorln prints the specified completion message to stderr with a newline at the end.
GetBashCustomFunction returns the bash code to handle custom go completion This should eventually be provided by Cobra.
NewCompleteCmd add a special hidden command that an be used to request completions.
RegisterFlagCompletionFunc should be called to register a function to provide completion for a flag.
RegisterValidArgsFunc should be called to register a function to provide argument completion for a command.

# Constants

BashCompDirectiveDefault indicates to let the shell perform its default behavior after completions have been provided.
BashCompDirectiveError indicates an error occurred and completions should be ignored.
BashCompDirectiveNoFileComp indicates that the shell should not provide file completion even when no completion is provided.
BashCompDirectiveNoSpace indicates that the shell should not add a space after the completion even if there is a single completion provided.
CompRequestCmd Hidden command to request completion results from the program.

# Type aliases

BashCompDirective is a bit map representing the different behaviors the shell can be instructed to have once completions have been provided.