8 lines
225 B
Plaintext
8 lines
225 B
Plaintext
|
|
#!/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}" "$@"
|