Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Variable Completions

The completion subcommand is used to manage dynamic variable completions.

This feature allows you to define a shell command that, when executed, provides a list of possible values for a given variable. This is particularly useful for variables that have a dynamic set of possible values, such as container names, git branches, or available network interfaces.

Available Subcommands

The completion functionality is split into three main subcommands:

  • new: Adds a new dynamic completion for a variable
  • list: Lists all configured dynamic variable completions
  • delete: Deletes an existing dynamic variable completion