block-accounting/backend/cmd/commands/commands.go
2024-05-29 01:57:31 +03:00

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
}