feat(cli): command router, real IMAP wiring, flag-based admin

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-22 00:09:38 +01:00
parent e1d86dc587
commit e1e5f245e1
4 changed files with 345 additions and 2 deletions
+2 -2
View File
@@ -4,6 +4,7 @@ import (
"fmt"
"os"
"git.dcglab.co.uk/steve/emcli/internal/cli"
"git.dcglab.co.uk/steve/emcli/internal/version"
)
@@ -12,6 +13,5 @@ func main() {
fmt.Println(version.String)
return
}
fmt.Fprintln(os.Stderr, "emcli: no command given")
os.Exit(2)
os.Exit(cli.Run(os.Args[1:], os.Stdout, os.Stderr))
}