Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCompletionCommand ¶
func NewCompletionCommand(d *shared.Deps, resolveCommands func() []*ffcli.Command, resolveRootFlags func() *flag.FlagSet) *ffcli.Command
NewCompletionCommand prints shell completion scripts to d's stdout. The full command tree is resolved only after the requested shell is valid, so normal command startup remains lazy and completion needs no auth or network access.
Types ¶
This section is empty.