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

Spec-tacular Citizen

Simple completions can be created using YAML Specs. They are first-class citizens in Carapace and behave similarly to the internal completers.

Basic

Flags are defined as a map of name and description. And Completions using an array of Values and Macros.

Macro

With a little regex and reflection magic Actions are exposed as Macros. There are Core, Modifier, and Custom Macros.

Envsubst

Contextual completion is possible using variable substitution.

Plugin

Specs can also be embedded as subcommands for plugin completion.