📎 Add minor changes to opencode setup

This commit is contained in:
Andrey Antukh
2026-06-05 11:30:58 +02:00
parent fc038e72fc
commit e2f96a6ba0
9 changed files with 1144 additions and 168 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e;
PORT=14180
while [[ $# -gt 0 ]]; do
case "$1" in
--port|-p) PORT="$2"; shift 2 ;;
*) echo "Unknown option: $1"; exit 1 ;;
esac
done
pnpm exec opencode attach "http://localhost:${PORT}";