blob: b1e0437cec46cada47a2f7e5c06b2c177273719b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
echo "=========================================================================="
echo " OpenCode Quota Plugin Installed"
echo "=========================================================================="
echo ""
echo "To enable this plugin, add it to your opencode configuration file"
echo "(e.g., ~/.config/opencode/opencode.json):"
echo ""
echo " {"
echo " \"plugin\": [\"file:///usr/lib/opencode/plugins/opencode-quota\"]"
echo " }"
echo ""
echo "Terminal CLI: opencode-quota show"
echo "Commands: /quota, /quota_status, /tokens_today, /tokens_session, etc."
echo "Supports: GitHub Copilot, OpenAI, Claude, Qwen, Cursor, Gemini CLI, OpenCode Go, and more"
echo "=========================================================================="
}
post_upgrade() {
post_install
}
|