feat: reastructure and create commands
All checks were successful
Go / build (push) Successful in 57s

This commit is contained in:
2025-09-16 21:11:14 +02:00
parent 8180b38225
commit 7d160d5f59
15 changed files with 388 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,
},
}