Normatik CLI is a command-line client for the Normatik Public API. It supports interactive browser login, API-key based automation, JSON output, shell completion, and discoverable error recovery hints.
This repository is the public source mirror for released CLI versions. The release process validates the source before every export; development happens upstream and this mirror is not a bidirectional contribution workflow.
With Homebrew:
brew install 42bv/tap/normatikOr install a released version directly with Go:
go install github.com/42BV/normatik-cli/cmd/normatik@latestnormatik login --url https://wiki.example/ --browser
normatik whoami
normatik pages listFor automation, provide both values explicitly:
export NORMATIK_BASE_URL=https://wiki.example/api
export NORMATIK_API_KEY=wiki_...
normatik pages list --output jsonThe CLI stores an interactively entered key in the operating-system keychain;
it never writes API keys to config.toml. HTTPS is required except for an
explicit localhost-only development opt-in.
Requirements: Go 1.26.5 or newer.
go mod download
go build -trimpath -o normatik ./cmd/normatik
./normatik --versionThe public source is a minimal runtime mirror: it includes the generated API client and runtime catalogue needed to build and run the CLI. Generation, drift validation, unit tests and integration tests remain private release gates and are performed before source is exported.
normatik completion bash
normatik completion zsh
normatik completion fishCopyright (c) 2026 42 B.V. Licensed under the MIT License.