Commit Graph

2 Commits

Author SHA1 Message Date
Oliver Gugger
c5973aa136
cmd/commands: export StripPrefix 2024-08-23 10:58:13 +02:00
Oliver Gugger
22a3988222
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-08-23 10:57:59 +02:00