Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionMacro ¶
ActionMacro completes given macro
Types ¶
type Macro ¶
type Macro struct {
Name string `json:"name"`
Description string `json:"descriptions,omitempty"`
Example string `json:"example,omitempty"`
Function string `json:"function,omitempty"`
Args string `json:"args,omitempty"` // TODO shouldn't be necessary
Macro macro.Macro[carapace.Action] `json:"-"` // TODO public?
}
TODO lots of overlapping `macro` terms. Macro[I|V|N] don't match the embedded generic `macro.Macro` well.
type MacroMap ¶ added in v1.5.0
func ScanMacros ¶ added in v1.5.0
TODO experimental - internal use
Source Files
¶
Click to show internal directories.
Click to hide internal directories.