Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdGenFigSpec ¶
Types ¶
type BaseSuggestion ¶
type BaseSuggestion struct {
// contains filtered or unexported fields
}
type Option ¶
type Option struct { *BaseSuggestion // contains filtered or unexported fields }
func (*Option) ToTypescript ¶
type Spec ¶
type Spec struct { *Subcommand // contains filtered or unexported fields }
func MakeFigSpec ¶
func (*Spec) ToTypescript ¶
type Subcommand ¶
type Subcommand struct { *BaseSuggestion // contains filtered or unexported fields }
func (*Subcommand) ToTypescript ¶
func (subcommand *Subcommand) ToTypescript() string
type Subcommands ¶
type Subcommands []Subcommand
func (*Subcommands) ToTypescript ¶
func (subcommands *Subcommands) ToTypescript() string
type Suggestion ¶
type Suggestion struct { *BaseSuggestion // contains filtered or unexported fields }
type SuggestionType ¶
type SuggestionType int
const ( FOLDER SuggestionType = iota FILE ARG SUBCOMMAND OPTION SPECIAL SHORTCUT )
Click to show internal directories.
Click to hide internal directories.