Skip to content

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

Open
javimosch wants to merge 1 commit into
masterfrom
am/am-f17c27-dkfgj4w7jxmc-e50a95d1
Open

fix(#298): add go install instructions to bundled notion-cli plugin#369
javimosch wants to merge 1 commit into
masterfrom
am/am-f17c27-dkfgj4w7jxmc-e50a95d1

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-dkfgj4w7jxmc-e50a95d1

Diff:

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(-)

Summary by CodeRabbit

  • Documentation
    • Updated Notion CLI installation guidance to recommend Go installation as the primary method.
    • Added or clarified alternative installation options through Homebrew, GitHub Releases, and npm.
    • Applied the updated instructions across setup guidance and dependency help.

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

Notion CLI installation guidance now prioritizes go install github.com/4ier/notion-cli@latest. It retains Homebrew and GitHub Releases options and adds global npm installation to the quickstart documentation.

Changes

Notion CLI installation

Layer / File(s) Summary
Update installation instructions
plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
Plugin installation and dependency help now recommend Go installation. The guidance retains Homebrew and GitHub Releases options and documents global npm installation in the quickstart.

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

Possibly related issues

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 and concisely describes 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-dkfgj4w7jxmc-e50a95d1

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: Update the Go installation flow in
plugins/notion-cli/install-guidance.json:6-7 to add the Go binary directory to
PATH before verification and install_steps, covering GOBIN and the default
$HOME/go/bin location. Update the related version/passthrough help at
plugins/notion-cli/plugin.json:14-14, plugin.json:33-33, and
plugin.json:233-233, plus the quickstart installation instructions at
plugins/notion-cli/skills/quickstart/SKILL.md:61-63, to document this PATH setup
so which notion, notion --version, and passthrough calls can locate the
installed binary.
🪄 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: c1f83b80-748b-46eb-8315-6d7bf5a09db9

📥 Commits

Reviewing files that changed from the base of the PR and between 6df5369 and 9cf3189.

📒 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.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Files:"
git ls-files | rg '(^|/)plugins/notion-cli/|notion-cli' || true

echo
echo "Relevant file sections:"
for f in plugins/notion-cli/install-guidance.json plugins/notion-cli/plugin.json plugins/notion-cli/skills/quickstart/SKILL.md; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    wc -l "$f"
    sed -n '1,90p' "$f"
    if [ "$f" = plugins/notion-cli/plugin.json ]; then
      echo "--- plugin.json lines 220-242 ---"
      sed -n '220,242p' "$f"
    fi
  else
    echo "missing $f"
  fi
done

echo
echo "Search notion-cli install/help references:"
rg -n "go install github\.com/4ier/notion-cli|notion --version|notion auth login|missingDependencyHelp|install_steps" plugins/notion-cli .github plugins 2>/dev/null | head -200

Repository: javimosch/supercli

Length of output: 32633


🌐 Web query:

Go installation PATH GOPATH/bin default GOBIN documentation

💡 Result:

When you run the go install command, Go compiles and installs executables into a specific directory controlled by the GOBIN and GOPATH environment variables [1][2]. The installation location is determined as follows: 1. If the GOBIN environment variable is set, binaries are installed into the directory specified by GOBIN [3][4]. GOBIN must be an absolute path [4]. 2. If GOBIN is not set, binaries are installed into the bin subdirectory of the first directory listed in the GOPATH environment variable [3][5]. 3. If neither GOBIN nor GOPATH is set, Go defaults to using $HOME/go/bin on Unix systems or %USERPROFILE%\go\bin on Windows [1][6][4]. To make these installed binaries easily executable from your command line, it is standard practice to add the binary installation directory (e.g., $HOME/go/bin) to your system PATH environment variable [3][7]. You can check your current configuration by running the command go env [3]. If you wish to change the default binary installation location, you can update GOBIN using: go env -w GOBIN=/your/custom/path/bin [3][7] Or, you can adjust the GOPATH workspace location to change where the default bin directory is located [6]. Note that while modern Go development primarily uses Go modules for dependency management, the GOPATH variable remains relevant for determining these default installation and cache locations [2][8][4].

Citations:


Make Go installation output reachable by SuperCLI.

go install writes the binary to GOBIN, or $HOME/go/bin when GOBIN is unset. Add the installation directory to PATH before verification and install_steps, and document it in version/passthrough help and quickstart installation. If users omit this step, verify: which notion, notion --version, and notion passthrough calls can fail after installation succeeds.

📍 Affects 3 files
  • plugins/notion-cli/install-guidance.json#L6-L7 (this comment)
  • plugins/notion-cli/plugin.json#L14-L14
  • 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, Update the Go
installation flow in plugins/notion-cli/install-guidance.json:6-7 to add the Go
binary directory to PATH before verification and install_steps, covering GOBIN
and the default $HOME/go/bin location. Update the related version/passthrough
help at plugins/notion-cli/plugin.json:14-14, plugin.json:33-33, and
plugin.json:233-233, plus the quickstart installation instructions at
plugins/notion-cli/skills/quickstart/SKILL.md:61-63, to document this PATH setup
so which notion, notion --version, and passthrough calls can locate the
installed binary.

@javimosch

Copy link
Copy Markdown
Owner Author

🤖 Escalated to CEO: https://github.com/javimosch/am-fleet/issues/48

The rebaser could not resolve conflicts automatically. Reply on the issue above to unblock this PR.

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