databricks-cli/cmd/bundle/deployment/deployment.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
420 B
Go
Raw Normal View History

package deployment
import (
2025-03-09 20:17:56 +00:00
"github.com/databricks/cli/clis"
"github.com/spf13/cobra"
)
2025-03-09 20:17:56 +00:00
func NewDeploymentCommand(hidden bool, cliType clis.CLIType) *cobra.Command {
cmd := &cobra.Command{
2025-03-09 20:17:56 +00:00
Use: "deployment",
Short: "Deployment related commands",
Long: "Deployment related commands",
Hidden: hidden,
}
2025-03-09 20:17:56 +00:00
cmd.AddCommand(newBindCommand(cliType))
cmd.AddCommand(newUnbindCommand(cliType))
return cmd
}