Commit graph

2 commits

Author SHA1 Message Date
Oliver Gugger
58bf721f2e
cmd/commands: don't error out on replacement failure 2024-10-15 17:33:26 +02:00
Oliver Gugger
90470065ba
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-10-11 14:04:00 +02:00
Renamed from cmd/lncli/commands.go (Browse further)