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

-- not needed in lndk-cli command line? #189

Open
AndySchroder opened this issue Oct 7, 2024 · 1 comment
Open

-- not needed in lndk-cli command line? #189

AndySchroder opened this issue Oct 7, 2024 · 1 comment

Comments

@AndySchroder
Copy link

At

If your macaroon is not in the default location, an example command looks like:
`lndk-cli -- --network=mainnet --macaroon-path=/credentials/custom.macaroon pay-offer <OFFER_STRING> <AMOUNT_MSATS>`
Or you can pass in the credentials directly with a macaroon string like:
`lndk-cli -- --network=mainnet --macaroon-hex=<MACAROON_HEX_STR> pay-offer <OFFER_STRING> <AMOUNT_MSATS>`

a -- is suggested as part of the command line. This doesn't seem to work for me. It seems to need to be omitted? This seems to need to only be needed if you use cargo run --bin=lndk-cli instead of lndk-cli?

@kannapoix
Copy link
Contributor

This seems to need to only be needed if you use cargo run --bin=lndk-cli instead of lndk-cli?

Yes, I think that true. I believe we don't need -- in the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants