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:
+2
-2
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user