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.