This repository contains the source code for the Nais command line interface (CLI).
See the CLI documentation for usage instructions.
Follow the shared relay integration requirements and fill in the integration template in the product's design or rollout documentation. A new command needs a product-specific authenticated NAIS API mutation and an approved target policy; the CLI does not create RelayAccess resources.
mise installmise run build
mise run test
./bin/nais --version
source <(./bin/nais completion zsh|bash|fish|powershell)
We use otel for instrumentation and record the user interaction with the CLI to see if we can optimize the user experience.
We respect your privacy and do not collect any data if you set the environment variable DO_NOT_TRACK
according to the Do Not Track.
There's a grafana dashboard.
This repo uses Conventional Commits. Please read up on how to format your commit messages. Please see the pre-commit hook to see which types we allow.