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:
parent
45a78d77bc
commit
ecb7f406f2
2 changed files with 0 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1 @@
|
|||
package workspace
|
||||
|
||||
import "forge.lthn.ai/core/go/pkg/cli"
|
||||
|
||||
func init() {
|
||||
cli.RegisterCommands(AddWorkspaceCommands)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue