feat: reastructure and create commands
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-09-16 21:11:14 +02:00
parent 8180b38225
commit 6f069ad97b
14 changed files with 387 additions and 5 deletions

17
cmd/invoicer/cmd.go Normal file
View File

@@ -0,0 +1,17 @@
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,
},
}