From 44b2ba96de393bc9bacc1714e2f19e63c71c73c4 Mon Sep 17 00:00:00 2001 From: Sylvain Kalache Date: Thu, 5 Mar 2026 10:29:43 -0500 Subject: [PATCH] fix: correct env var name in docs from ROOTLY_API_TOKEN to ROOTLY_API_KEY The CLI code uses ROOTLY_API_KEY everywhere (root.go, config.go, error messages) but README.md and CLAUDE.md referenced ROOTLY_API_TOKEN, causing confusion when users follow the docs. --- CLAUDE.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1857f4f..1544a50 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -67,7 +67,7 @@ make check # Format, lint, and test ### Config -Config stored at `~/.rootly-cli/config.yaml` or via `ROOTLY_API_TOKEN` env var: +Config stored at `~/.rootly-cli/config.yaml` or via `ROOTLY_API_KEY` env var: ```yaml api_key: "your-api-key" diff --git a/README.md b/README.md index 06eca0e..abcd604 100644 --- a/README.md +++ b/README.md @@ -48,11 +48,11 @@ make build ## Configuration -Set your API token via environment variable or config file: +Set your API key via environment variable or config file: ```bash # Environment variable (recommended for CI/scripts) -export ROOTLY_API_TOKEN="your-api-key" +export ROOTLY_API_KEY="your-api-key" # Or config file at ~/.rootly-cli/config.yaml ```