Some checks failed
perso/opencode/pipeline/head Something is wrong with the build of this commit
8 lines
225 B
Bash
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}" "$@"
|