19 files migrated from github.com/spf13/cobra to forge.lthn.ai/core/cli/pkg/cli. All cmd/ and build/ packages now use cli.Command exclusively. Zero direct cobra dependencies remain in application code. Co-Authored-By: Virgil <virgil@lethean.io>
14 lines
251 B
Go
14 lines
251 B
Go
package prod
|
|
|
|
import (
|
|
"forge.lthn.ai/core/cli/pkg/cli"
|
|
)
|
|
|
|
func init() {
|
|
cli.RegisterCommands(AddProdCommands)
|
|
}
|
|
|
|
// AddProdCommands registers the 'prod' command and all subcommands.
|
|
func AddProdCommands(root *cli.Command) {
|
|
root.AddCommand(Cmd)
|
|
}
|