Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result holds completion candidates and a shell directive. Each candidate is formatted as "value" or "value\tdescription".
func Complete ¶
Complete computes shell completion candidates for the typed words.
words contains the arguments typed so far, with the program name excluded. The last element is the partial word currently being completed (may be ""). envNames provides environment names and descriptions loaded from the offline config (no daemon required). cmdNames optionally provides command names for completing "env-starter command restart <TAB>"; existing callers that only deal with environments can omit it.
Click to show internal directories.
Click to hide internal directories.