Documentation
¶
Overview ¶
Command terraform-axi is an agent-ergonomic CLI over the public Terraform Registry. The main package lives at the module root so `go run github.com/aziz-shoko/terraform-axi@latest <command>` stays short.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
cli
Package cli is the dispatcher: it routes arguments to command families and owns the exit-code mapping.
|
Package cli is the dispatcher: it routes arguments to command families and owns the exit-code mapping. |
|
command/module
Package module implements the `module` command family: registry search and module details with tabular TOON inputs/outputs - the biggest raw token win over the MCP's JSON.
|
Package module implements the `module` command family: registry search and module details with tabular TOON inputs/outputs - the biggest raw token win over the MCP's JSON. |
|
command/policy
Package policy implements the `policy` command family: the registry's thin Sentinel policy-library surface, kept deliberately minimal.
|
Package policy implements the `policy` command family: the registry's thin Sentinel policy-library surface, kept deliberately minimal. |
|
command/provider
Package provider implements the `provider` command family: the flagship collapse of the MCP's two-call, id-chained provider-doc flow into single legible commands.
|
Package provider implements the `provider` command family: the flagship collapse of the MCP's two-call, id-chained provider-doc flow into single legible commands. |
|
command/setup
Package setup implements the `setup` command family: agent-integration plumbing (axi principle 7, ambient context).
|
Package setup implements the `setup` command family: agent-integration plumbing (axi principle 7, ambient context). |
|
output
Package output owns the rendering contract for everything terraform-axi prints: TOON for structured data, delimited raw blocks for large markdown bodies, and structured errors.
|
Package output owns the rendering contract for everything terraform-axi prints: TOON for structured data, delimited raw blocks for large markdown bodies, and structured errors. |
|
registry
Package registry is the HTTP client for the public Terraform Registry (https://registry.terraform.io).
|
Package registry is the HTTP client for the public Terraform Registry (https://registry.terraform.io). |
|
registry/registrytest
Package registrytest serves recorded registry JSON fixtures over httptest for unit tests.
|
Package registrytest serves recorded registry JSON fixtures over httptest for unit tests. |
|
testutil
Package testutil holds shared test helpers.
|
Package testutil holds shared test helpers. |
|
version
Package version holds build metadata injected at link time via -ldflags "-X github.com/aziz-shoko/terraform-axi/internal/version.Version=...".
|
Package version holds build metadata injected at link time via -ldflags "-X github.com/aziz-shoko/terraform-axi/internal/version.Version=...". |
Click to show internal directories.
Click to hide internal directories.