mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
276 B
10 lines
276 B
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
UMBREL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
result=$(docker-compose --file "${UMBREL_ROOT}/docker-compose.yml" exec bitcoin bitcoin-cli $@)
|
|
|
|
# We need to echo with quotes to preserve output formatting
|
|
echo "$result"
|
|
|