4 Commits

Author SHA1 Message Date
Oliver Gugger
e3f5b74f92
cmd/commands: refactor SendPaymentRequest for re-use
We want to re-use the logic of the SendPaymentRequest code, most notably
the logic that prints the payment updates as a nicely formatted table to
the console, in other projects.
2024-07-29 18:04:44 +02:00
Oliver Gugger
1f86f38f36
Merge remote-tracking branch 'origin/master' into 0-19-staging 2024-05-28 13:55:23 +02:00
Oliver Gugger
8a0222c347
cmd/commands: export StripPrefix 2024-05-27 15:53:11 +02:00
Oliver Gugger
26e759423b
cmd/lncli: move commands and export
We want to export some of our CLI code to re-use in other projects. But
in Golang you cannot import code from a `main` package.
So we need to move the actual code into its own package and only have
the `func main()` in the `main` package.
2024-05-27 15:53:10 +02:00