forked from getumbrel/umbrel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CLI binary proxies (getumbrel#161)
- Loading branch information
1 parent
cc3cd89
commit 96f5ef5
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |