Skip to content

fix(#298): add go install instructions to bundled notion-cli plugin - #368

Closed
javimosch wants to merge 1 commit into
masterfrom
am/am-f17c27-dkfdt4lkqz9c-84d0eb58
Closed

fix(#298): add go install instructions to bundled notion-cli plugin#368
javimosch wants to merge 1 commit into
masterfrom
am/am-f17c27-dkfdt4lkqz9c-84d0eb58

Conversation

@javimosch

@javimosch javimosch commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Automated maintenance run by automaintainer.

Focus: == ASSIGNED OBJECTIVE ==
Fix GitHub issue #298 ONLY: Add 4ier/notion-cli as a bundled plugin in SuperCLI. PR title MUST reference #298.


OPEN PR AWARENESS (secondary — do not replace the ASSIGNED OBJECTIVE):
These open pull requests are already open and awaiting review. Do NOT start UNRELATED work on the files they touch. If your ASSIGNED OBJECTIVE requires editing one of those files, complete the objective anyway. Never abandon the objective to pick a different GitHub issue just to avoid overlap.

Branch: am/am-f17c27-dkfdt4lkqz9c-84d0eb58

Diff:

plugins/notion-cli/install-guidance.json      | 4 ++--
 plugins/notion-cli/plugin.json                | 6 +++---
 plugins/notion-cli/skills/quickstart/SKILL.md | 8 +++++++-
 3 files changed, 12 insertions(+), 6 deletions(-)

Summary by CodeRabbit

  • Documentation
    • Updated Notion CLI installation guidance to recommend go install as the primary method.
    • Added GitHub Releases and npm as alternative installation options.
    • Retained and clarified Homebrew installation instructions.
    • Expanded installation guidance across setup, version-check, and command dependency documentation.

Add the primary `go install github.com/4ier/notion-cli@latest` method
from the issue 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>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The Notion CLI installation guidance now uses go install as the primary method. Homebrew, GitHub Releases, and npm remain available as alternatives. Dependency messages provide the same installation options.

Changes

Notion CLI installation

Layer / File(s) Summary
Primary installation instructions
plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
The guidance now recommends go install github.com/4ier/notion-cli@latest and retains alternative installation methods.
Dependency error guidance
plugins/notion-cli/plugin.json
Version and passthrough command messages now list Go installation and Homebrew alternatives.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding Go installation instructions to the bundled notion-cli plugin.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch am/am-f17c27-dkfdt4lkqz9c-84d0eb58

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@plugins/notion-cli/install-guidance.json`:
- Around line 6-7: Document and export the Go binary directory before verifying
the installed command: update plugins/notion-cli/install-guidance.json lines
6-7, plugins/notion-cli/plugin.json lines 14-15, 33, and 233, and
plugins/notion-cli/skills/quickstart/SKILL.md lines 61-63. Ensure each
installation surface adds the Go bin path to PATH before the notion --version or
which notion check, while preserving the existing fallback installation
guidance.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 71600cb1-e64b-4fee-ae0d-e6cfb6ea21b9

📥 Commits

Reviewing files that changed from the base of the PR and between 6df5369 and 74e2b3e.

📒 Files selected for processing (3)
  • plugins/notion-cli/install-guidance.json
  • plugins/notion-cli/plugin.json
  • plugins/notion-cli/skills/quickstart/SKILL.md

Comment on lines +6 to 7
"go install github.com/4ier/notion-cli@latest",
"Verify: notion --version",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

command -v go >/dev/null
gobin="$(go env GOBIN)"
if [ -z "$gobin" ]; then
  gobin="$(go env GOPATH)/bin"
fi

case ":${PATH}:" in
  *":${gobin}:"*) ;;
  *) printf 'Go binary directory is not on PATH: %s\n' "$gobin" >&2; exit 1 ;;
esac

Repository: javimosch/supercli

Length of output: 214


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf 'GOMODCACHE: '
go env GOMODCACHE
printf 'GOBIN: %s\n' "$(go env GOBIN || true)"
printf 'GOPATH: %s\n' "$(go env GOPATH || true)"
printf 'PATH includes standard Go bin? '
gobin="$(go env GOBIN || true)"
if [ -z "$gobin" ]; then
  gobin="$(go env GOPATH)/bin"
fi
case ":${PATH}:" in
  *":${gobin}:"*) echo yes ;;
  *) echo no; printf 'actual PATH contains: ' ; sed -n 's#:/##p' <<< "$PATH" | tr ':' '\n' | head -20 ;;
esac

printf '\nGo toolchain availability:\n'
command -v go || true
go version 2>/dev/null || true

printf '\nRelevant file excerpts:\n'
for f in plugins/notion-cli/install-guidance.json plugins/notion-cli/plugin.json plugins/notion-cli/skills/quickstart/SKILL.md; do
  echo "--- $f"
  sed -n '1,260p' "$f"
done

Repository: javimosch/supercli

Length of output: 12426


Document the go install binary directory in the installation guidance.

go install places binaries in $(go env GOBIN || $(go env GOPATH)/bin)/bin, and that directory is not documented on the installation surfaces. Since the installed binary must satisfy which notion, add the exported Go bin path as the install step before notion --version, or use an alternative install method, and include the same step in install-guidance.json, plugin.json fallback install, and skills/quickstart/SKILL.md.

📍 Affects 3 files
  • plugins/notion-cli/install-guidance.json#L6-L7 (this comment)
  • plugins/notion-cli/plugin.json#L14-L15
  • plugins/notion-cli/plugin.json#L33-L33
  • plugins/notion-cli/plugin.json#L233-L233
  • plugins/notion-cli/skills/quickstart/SKILL.md#L61-L63
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@plugins/notion-cli/install-guidance.json` around lines 6 - 7, Document and
export the Go binary directory before verifying the installed command: update
plugins/notion-cli/install-guidance.json lines 6-7,
plugins/notion-cli/plugin.json lines 14-15, 33, and 233, and
plugins/notion-cli/skills/quickstart/SKILL.md lines 61-63. Ensure each
installation surface adds the Go bin path to PATH before the notion --version or
which notion check, while preserving the existing fallback installation
guidance.

@javimosch

Copy link
Copy Markdown
Owner Author

Closing as duplicate of #369 (most recent attempt for issue #298). Reducing PR cap pressure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant