shell completion

A shell feature that suggests or fills in a command's subcommands, flags and arguments when you press Tab.

In more detail

Tools provide it through a completion script for each shell. Command-line libraries such as Cobra can generate these scripts automatically.

Related terms

Taught in

References