CompletionOptions are the options to control shell completion

Hierarchy

  • CompletionOptions

Properties

disableDefaultCmd: boolean

DisableDefaultCmd prevents Cobra from creating a default 'completion' command

disableDescriptions: boolean

DisableDescriptions turns off all completion descriptions for shells that support them

disableNoDescFlag: boolean

DisableNoDescFlag prevents Cobra from creating the '--no-descriptions' flag for shells that support completion descriptions

hiddenDefaultCmd: boolean

HiddenDefaultCmd makes the default 'completion' command hidden

Generated using TypeDoc