From 0bb907e561a61ea2f39cd34308d48b2f980ce523 Mon Sep 17 00:00:00 2001 From: SuperCLI Dev Date: Tue, 4 Aug 2026 07:03:40 +0000 Subject: [PATCH] fix(#298): add go install instructions to bundled notion-cli plugin Add the primary `go install github.com/4ier/notion-cli@latest` method to plugin.json, install-guidance.json, and the quickstart skill. Homebrew and npm remain documented as alternatives. Fixes #298 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- plugins/notion-cli/install-guidance.json | 4 ++-- plugins/notion-cli/plugin.json | 6 +++--- plugins/notion-cli/skills/quickstart/SKILL.md | 14 +++++++++++++- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/plugins/notion-cli/install-guidance.json b/plugins/notion-cli/install-guidance.json index 92ed54659..21de2eb06 100644 --- a/plugins/notion-cli/install-guidance.json +++ b/plugins/notion-cli/install-guidance.json @@ -3,11 +3,11 @@ "binary": "notion", "check": "which notion", "install_steps": [ - "brew install 4ier/tap/notion-cli", + "go install github.com/4ier/notion-cli@latest", "Verify: notion --version", "Authenticate: echo 'ntn_xxxxx' | notion auth login --with-token", "Alternative auth: export NOTION_TOKEN=ntn_xxxxx", "supercli plugins install ./plugins/notion-cli --on-conflict replace --json" ], - "note": "Also available as Go binary from GitHub Releases: https://github.com/4ier/notion-cli/releases. npm: npm install -g @4ier/notion-cli. Token stored in ~/.config/notion-cli/config.json (mode 0600). Auto-detects JSON output when piped to another command." + "note": "Primary install is go install. Also available via Homebrew (brew install 4ier/tap/notion-cli), as a Go binary from GitHub Releases (https://github.com/4ier/notion-cli/releases), or via npm (npm install -g @4ier/notion-cli). Token stored in ~/.config/notion-cli/config.json (mode 0600). Auto-detects JSON output when piped to another command." } diff --git a/plugins/notion-cli/plugin.json b/plugins/notion-cli/plugin.json index 4f355bbad..793057340 100644 --- a/plugins/notion-cli/plugin.json +++ b/plugins/notion-cli/plugin.json @@ -11,7 +11,7 @@ "binary": "notion", "check": "which notion", "install_steps": [ - "brew install 4ier/tap/notion-cli", + "go install github.com/4ier/notion-cli@latest", "Verify: notion --version", "Authenticate: echo 'ntn_xxxxx' | notion auth login --with-token", "supercli plugins install ./plugins/notion-cli --on-conflict replace --json" @@ -30,7 +30,7 @@ "adapterConfig": { "command": "notion", "baseArgs": ["--version"], - "missingDependencyHelp": "Install notion-cli: brew install 4ier/tap/notion-cli" + "missingDependencyHelp": "Install notion-cli: go install github.com/4ier/notion-cli@latest (or brew install 4ier/tap/notion-cli)" }, "args": [] }, @@ -230,7 +230,7 @@ "adapterConfig": { "command": "notion", "passthrough": true, - "missingDependencyHelp": "Install notion-cli: brew install 4ier/tap/notion-cli. Authenticate: echo 'ntn_xxxx' | notion auth login --with-token" + "missingDependencyHelp": "Install notion-cli: go install github.com/4ier/notion-cli@latest (or brew install 4ier/tap/notion-cli). Authenticate: echo 'ntn_xxxx' | notion auth login --with-token" }, "args": [] } diff --git a/plugins/notion-cli/skills/quickstart/SKILL.md b/plugins/notion-cli/skills/quickstart/SKILL.md index 7c2db61d8..3197e71b1 100644 --- a/plugins/notion-cli/skills/quickstart/SKILL.md +++ b/plugins/notion-cli/skills/quickstart/SKILL.md @@ -58,11 +58,23 @@ export NOTION_TOKEN=ntn_xxxxx ## Installation +```bash +go install github.com/4ier/notion-cli@latest +``` + +Or install with Homebrew: + ```bash brew install 4ier/tap/notion-cli ``` -Or download binary from [GitHub Releases](https://github.com/4ier/notion-cli/releases). +Or install with npm: + +```bash +npm install -g @4ier/notion-cli +``` + +Or download a binary from [GitHub Releases](https://github.com/4ier/notion-cli/releases). ## Key Features - **Agent-friendly**: JSON output auto-detected when piped, schema-aware, URL or ID support