block-accounting/backend/cmd/commands/commands.go

14 lines
213 B
Go
Raw Normal View History

2024-05-24 17:44:24 +00:00
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
}