mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 21:22:37 +02:00
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.
This commit is contained in:
2978
cmd/commands/commands.go
Normal file
2978
cmd/commands/commands.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user