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.
 
 

13 lines
321 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" \
--env-file "${UMBREL_ROOT}/.env" \
exec bitcoin bitcoin-cli $@)
# We need to echo with quotes to preserve output formatting
echo "$result"