btcpayserver/BTCPayServer.Tests/docker-customer-lightning-cli.ps1

3 lines
282 B
PowerShell
Raw Permalink Normal View History

$customer_lightning_container_id=$(docker ps -q --filter label=com.docker.compose.project=btcpayservertests --filter label=com.docker.compose.service=customer_lightningd)
docker exec -ti $customer_lightning_container_id lightning-cli --rpc-file=/root/.lightning/lightning-rpc $args