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
261 B
Go
14 lines
261 B
Go
package deploy
|
|
|
|
import (
|
|
"forge.lthn.ai/core/cli/pkg/cli"
|
|
)
|
|
|
|
func init() {
|
|
cli.RegisterCommands(AddDeployCommands)
|
|
}
|
|
|
|
// AddDeployCommands registers the 'deploy' command and all subcommands.
|
|
func AddDeployCommands(root *cli.Command) {
|
|
root.AddCommand(Cmd)
|
|
}
|