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.

80x12@0:10

Macro

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

80x12@0:10

Envsubst

Contextual completion is possible using variable substitution.

80x12@0:10

Plugin

Specs can also be embedded as subcommands for plugin completion.

80x12@0:20