mirror of
https://github.com/emo2007/block-accounting.git
synced 2024-11-13 22:06:27 +00:00
14 lines
213 B
Go
14 lines
213 B
Go
|
package commands
|
||
|
|
||
|
import "github.com/urfave/cli/v2"
|
||
|
|
||
|
var commandPool []*cli.Command
|
||
|
|
||
|
func Register(c *cli.Command) {
|
||
|
commandPool = append(commandPool, c)
|
||
|
}
|
||
|
|
||
|
func Commands() []*cli.Command {
|
||
|
return commandPool
|
||
|
}
|