Replace init() + cli.RegisterCommands() with cli.WithCommands() passed to cli.Main(). Commands now register as framework services and receive the root command during OnStartup — no global state, no blank imports. Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| cmd.go | ||