Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

play-lnd: pass args $1 - $9 to container #122

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/play-lnd
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ do
docker exec $LND_ID sh -c "lncli -n signet walletbalance | jq -r .unconfirmed_balance"
exit

elif [[ ${!i} == *help ]]; then
elif [[ ${!i} == help ]]; then
((i++))
echo "play-lnd id"
echo "play-lnd top"
Expand All @@ -122,7 +122,7 @@ do

elif [[ -n ${!i} ]]; then
((i++))
docker exec $LND_ID sh -c "$1 $2 $3 $4"
docker exec $LND_ID sh -c "$1 $2 $3 $4 $5 $6 $7 $8 $9"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsafier - experiment with additional args to be passed.

exit
fi

Expand Down