summarylogtreecommitdiffstats
path: root/opencode-claude-auth.install
blob: 269123de7ad846b4bc9cd8b11a7420f1b3089384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  echo "=========================================================================="
  echo "  opencode-claude-auth Installed"
  echo "=========================================================================="
  echo ""
  echo "Add this plugin path to your OpenCode configuration file"
  echo "(for example ~/.config/opencode/opencode.json):"
  echo ""
  echo "  {"
  echo "    \"plugin\": [\"file:///usr/lib/opencode/plugins/opencode-claude-auth\"]"
  echo "  }"
  echo ""
  echo "Make sure Claude Code is already installed and authenticated"
  echo "so the plugin can reuse your existing credentials."
  echo "=========================================================================="
}

post_upgrade() {
  post_install
}