Files
accounting/cmd/invoicer/cmd.go
schreifuchs 7d160d5f59
All checks were successful
Go / build (push) Successful in 57s
feat: reastructure and create commands
2025-09-16 21:14:39 +02:00

18 lines
174 B
Go

package main
type cmd struct {
cmd func(any)
config any
}
func (c *cmd) Run() {
c.cmd(c.config)
}
var commands = map[string]cmd{
"config": {
config,
nil,
},
}