mirror of https://github.com/lukechilds/umbrel.git
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
#!/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" |
@ -0,0 +1,10 @@ |
|||||
|
#!/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 lnd lncli $@) |
||||
|
|
||||
|
# We need to echo with quotes to preserve output formatting |
||||
|
echo "$result" |
Loading…
Reference in new issue