diff --git a/cmd/commands/cmd_invoice.go b/cmd/commands/cmd_invoice.go index 2a9c35f22..7801c4dcf 100644 --- a/cmd/commands/cmd_invoice.go +++ b/cmd/commands/cmd_invoice.go @@ -9,7 +9,7 @@ import ( "github.com/urfave/cli" ) -var addInvoiceCommand = cli.Command{ +var AddInvoiceCommand = cli.Command{ Name: "addinvoice", Category: "Invoices", Usage: "Add a new invoice.", diff --git a/cmd/commands/main.go b/cmd/commands/main.go index 476be3cd5..e0ed0fec4 100644 --- a/cmd/commands/main.go +++ b/cmd/commands/main.go @@ -468,7 +468,7 @@ func Main() { SendPaymentCommand, payInvoiceCommand, sendToRouteCommand, - addInvoiceCommand, + AddInvoiceCommand, lookupInvoiceCommand, listInvoicesCommand, ListChannelsCommand,