# ec CLI documentation

The content here is an [Antora][antora] component for the ec CLI. The YAML files
within the `dist/cli-reference` directory are generated by running `make reference-docs`
which generates those based on the data structures of the Cobra[cobra] library used
for the command line argument parsing.

The `template` directory is used by the `reference-antora-extension` to
transform those YAML files into Asciidoc and is in Handlebars syntax, the
`modules/ROOT/nav.adoc` is also parsed and evaluated as a Handlebars template.

[antora]: https://docs.antora.org/
[cobra]: https://cobra.dev/
