Skip to content

kubeconfig-manager documentation

kcm is a CLI + TUI for managing local kubeconfig files and kubectl contexts, with tags, destructive-action guardrails, and first-class shell integration.

Table of contents

Guides

CLI reference

Auto-generated from the Cobra command tree. Regenerate with go run scripts/gendocs.go.

Man pages

Installable man pages are generated into the man/ directory alongside the markdown (man/kcm.1, man/kcm-list.1, …). After goreleaser publishes a release, these are packaged into the downloadable archives.

Hosting documentation

When you're ready to publish this at a real URL, the recommended framework is MkDocs with the Material theme — it's the de-facto standard for Kubernetes-adjacent CLI tools (Helm, Kustomize, ArgoCD, Velero all use it), builds from the same markdown in docs/, and deploys to GitHub Pages with a single GitHub Action. See roadmap for the concrete migration plan.