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

Adds missing commands to CLI #34

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Adds missing commands to CLI #34

merged 1 commit into from
Dec 9, 2024

Conversation

dzdidi
Copy link
Contributor

@dzdidi dzdidi commented Dec 9, 2024

Added missing cli commands for:

  • get-node-info
  • get-balances
  • list-channels
  • list-payments

Not exactly sure what the signature for update-channel-config should be there for have not added it yet but happy to do it

@G8XSU G8XSU self-requested a review December 9, 2024 18:27
Copy link
Contributor

@G8XSU G8XSU left a comment

Choose a reason for hiding this comment

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

Some doc changes to make them consistent with our proto definitions.

Otherwise Lgtm, please squash after fixes.

ldk-server-client/src/client.rs Outdated Show resolved Hide resolved
ldk-server-client/src/client.rs Outdated Show resolved Hide resolved
ldk-server-client/src/client.rs Outdated Show resolved Hide resolved
@@ -18,6 +19,8 @@ struct Cli {

#[derive(Subcommand, Debug)]
enum Commands {
GetNodeInfo,
Copy link
Contributor

@G8XSU G8XSU Dec 9, 2024

Choose a reason for hiding this comment

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

nits:

  • Can you change commit msgs to something like "Add Cli command for OnchainSend"
  • And remove the commit description 'signed-off by ...'
  • and include formatting changes in their corresponding commits, instead of separate commit.

@dzdidi dzdidi force-pushed the main branch 6 times, most recently from b46e889 to a825f12 Compare December 9, 2024 21:26
Fix typo in readme

Add cli command for GetNodeInfo

Add cli command for GetBalance

Add cli command for ListChannels

Add cli command for ListPayments

Co-authored-by: Gursharan Singh <[email protected]>
Copy link
Contributor

@G8XSU G8XSU left a comment

Choose a reason for hiding this comment

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

Looks like you squashed all commits into one, not sure if it was intended.
But this is ok.

@G8XSU G8XSU merged commit 9e24e8d into lightningdevkit:main Dec 9, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants