Versions in this module Expand all Collapse all v1 v1.2.1 Aug 18, 2022 v1.2.0 May 17, 2022 Changes in this version + func CreateCompletionSpecCommand(options ...Opts) *cobra.Command + type Arg struct + func (arg *Arg) ToTypescript() string + type Args []Arg + func (args *Args) ToTypescript() string + type BaseSuggestion struct + type Names []string + func (names *Names) ToTypescript() string + type Option struct + func (option *Option) ToTypescript() string + type Options []Option + func (options *Options) ToTypescript() string + type Opts struct + Long string + Short string + Use string + Visible bool + type Spec struct + func GenerateCompletionSpec(root *cobra.Command) Spec + func (spec *Spec) ToTypescript() string + type Subcommand struct + func (subcommand *Subcommand) ToTypescript() string + type Subcommands []Subcommand + func (subcommands *Subcommands) ToTypescript() string + type Suggestion struct + type SuggestionType int + const ARG + const FILE + const FOLDER + const OPTION + const SHORTCUT + const SPECIAL + const SUBCOMMAND + type Template int + const FILEPATHS + const FOLDERS