Files
opencode/opencode-attach
Julien Cabillot 59d62367b3
Some checks failed
perso/opencode/pipeline/head Something is wrong with the build of this commit
feat: import
2026-03-28 17:21:08 -04:00

8 lines
225 B
Bash

#!/bin/sh
set -eu
: "${OPENCODE_SERVER_PASSWORD:?OPENCODE_SERVER_PASSWORD is required}"
: "${OPENCODE_API_URL:?OPENCODE_API_URL is required}"
exec opencode attach -p "${OPENCODE_SERVER_PASSWORD}" "${OPENCODE_API_URL}" "$@"