Skip to content

Commit 0164175

Browse files
committed
litrpc: add cli directives to Accounts service
1 parent a8b4ef1 commit 0164175

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

litrpc/lit-accounts.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package litrpc;
55
option go_package = "github.com/lightninglabs/lightning-terminal/litrpc";
66

77
service Accounts {
8-
/*
8+
/* litcli: `accounts create`
99
CreateAccount adds an entry to the account database. This entry represents
1010
an amount of satoshis (account balance) that can be spent using off-chain
1111
transactions (e.g. paying invoices).
@@ -20,18 +20,18 @@ service Accounts {
2020
*/
2121
rpc CreateAccount (CreateAccountRequest) returns (CreateAccountResponse);
2222

23-
/*
23+
/* litcli: `accounts update`
2424
UpdateAccount updates an existing account in the account database.
2525
*/
2626
rpc UpdateAccount (UpdateAccountRequest) returns (Account);
2727

28-
/*
28+
/* litcli: `accounts list`
2929
ListAccounts returns all accounts that are currently stored in the account
3030
database.
3131
*/
3232
rpc ListAccounts (ListAccountsRequest) returns (ListAccountsResponse);
3333

34-
/*
34+
/* litcli: `accounts remove`
3535
RemoveAccount removes the given account from the account database.
3636
*/
3737
rpc RemoveAccount (RemoveAccountRequest) returns (RemoveAccountResponse);

litrpc/lit-accounts_grpc.pb.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)