internal/

directory
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT

Directories

Path Synopsis
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
Package auth resolves the active environment (base-URL + API key) and stores API keys in the OS keychain.
Package auth resolves the active environment (base-URL + API key) and stores API keys in the OS keychain.
Package catalog is the offline, embedded error-code knowledge base that powers `normatik explain` and the exit-code policy.
Package catalog is the offline, embedded error-code knowledge base that powers `normatik explain` and the exit-code policy.
Package cli wires the cobra command tree.
Package cli wires the cobra command tree.
Package client is the hand-written wrapper around the generated transport.
Package client is the hand-written wrapper around the generated transport.
Package command is the shared CLI layer: dependency bootstrap (client + printer), the single error-render path, exit-code-carrying handled errors, and a resource registry + verb-builders so adding a resource is a few lines.
Package command is the shared CLI layer: dependency bootstrap (client + printer), the single error-render path, exit-code-carrying handled errors, and a resource registry + verb-builders so adding a resource is a few lines.
Package config persists non-secret CLI preferences: the active profile, the default output mode, and per-profile base-URLs.
Package config persists non-secret CLI preferences: the active profile, the default output mode, and per-profile base-URLs.
Package httpx centralizes the CLI's outbound HTTP security policy.
Package httpx centralizes the CLI's outbound HTTP security policy.
Package localfile centralises safe reads of caller-selected local files for the CLI (NORMATIK-21).
Package localfile centralises safe reads of caller-selected local files for the CLI (NORMATIK-21).
Package problem decodes the Normatik public API's RFC-7807 ProblemDetail responses and maps them to actionable CLI output + exit codes.
Package problem decodes the Normatik public API's RFC-7807 ProblemDetail responses and maps them to actionable CLI output + exit codes.
Package render implements dual-mode output: a human table/text default and a stable machine-readable JSON mode (--output json).
Package render implements dual-mode output: a human table/text default and a stable machine-readable JSON mode (--output json).
Package weburl builds normatik-ui frontend routes for the CLI's --url flag.
Package weburl builds normatik-ui frontend routes for the CLI's --url flag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL