mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
9 lines
319 B
Bash
Executable File
9 lines
319 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This is a shim for easily executing Coder commands against a loadtest cluster
|
|
# without having to overwrite your own session/URL
|
|
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
|
|
CONFIG_DIR="${SCRIPT_DIR}/.coderv2"
|
|
CODER_BIN="${CONFIG_DIR}/coder"
|
|
exec "${CODER_BIN}" --global-config "${CONFIG_DIR}" "$@"
|