Skip to content

feat(install): install skill and MCP from install.sh - #106

Merged
scott merged 1 commit into
mainfrom
feat/104-install-skill-mcp
Sep 7, 2026
Merged

feat(install): install skill and MCP from install.sh#106
scott merged 1 commit into
mainfrom
feat/104-install-skill-mcp

Conversation

@scott

@scott scott commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • After a successful binary install (release download or source fallback), install.sh now runs "$dest" skill and "$dest" mcp install via the new binary instead of reimplementing those steps in bash.
  • Skill/MCP failures are non-fatal: the script warns and still exits 0 so older --version tags without those subcommands cannot abort a successful binary install.
  • --dry-run prints the extra commands and does not execute them. --no-skill / --no-mcp skip the corresponding step (both together is binary-only).
  • README one-liner docs cover the new default and the opt-outs, including bash -s -- when piping.

Related Issue

Closes #104

Testing

  • go test ./...
  • go vet ./...
  • go build ./...
  • CGO_ENABLED=0 go build -o gander .
  • go test -count=1 -run TestInstallSh . (dry-run, stdin/curl | bash path, opt-outs, non-fatal post-steps)
  • shellcheck install.sh — same three pre-existing SC2155/SC2064 warnings as on main; no new findings

Notes

GANDER_INSTALL_SKIP_MAIN=1 is an internal hook so tests can source install.sh without running main. It is required because a BASH_SOURCE == $0 guard would skip main when the script is piped to bash (the documented one-liner).

@scott
scott merged commit a7495c3 into main Sep 7, 2026
1 check passed
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.

feat: install skill and MCP from install.sh

1 participant