refactor: remove init() + RegisterCommands pattern

Commands now register through Core framework lifecycle via
cli.WithCommands() instead of side-channel init() functions.

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-02-21 22:07:14 +00:00
parent 45a78d77bc
commit ecb7f406f2
2 changed files with 0 additions and 10 deletions

View file

@ -15,10 +15,6 @@ import (
"forge.lthn.ai/core/go/pkg/i18n"
)
func init() {
cli.RegisterCommands(AddTaskCommands)
}
// Style aliases from shared package
var (
successStyle = cli.SuccessStyle

View file

@ -1,7 +1 @@
package workspace
import "forge.lthn.ai/core/go/pkg/cli"
func init() {
cli.RegisterCommands(AddWorkspaceCommands)
}