Documentation ¶
Overview ¶
Package completion supports bash completion for commands built using package flags.
References ¶
* https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCompletion ¶
AddCompletion prints the possible completion if it matches the prefix.
Types ¶
type Env ¶
Env contains the information passed by the shell in environment variables.
func (*Env) LeadingWords ¶
func (*Env) WriteCompletions ¶
Click to show internal directories.
Click to hide internal directories.