mirror of https://github.com/databricks/cli.git
24 lines
487 B
Go
24 lines
487 B
Go
|
package bundle
|
||
|
|
||
|
import (
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func New() *cobra.Command {
|
||
|
cmd := &cobra.Command{
|
||
|
Use: "bundle",
|
||
|
Short: "Databricks Asset Bundles",
|
||
|
}
|
||
|
|
||
|
initVariableFlag(cmd)
|
||
|
cmd.AddCommand(newDeployCommand())
|
||
|
cmd.AddCommand(newDestroyCommand())
|
||
|
cmd.AddCommand(newLaunchCommand())
|
||
|
cmd.AddCommand(newRunCommand())
|
||
|
cmd.AddCommand(newSchemaCommand())
|
||
|
cmd.AddCommand(newSyncCommand())
|
||
|
cmd.AddCommand(newTestCommand())
|
||
|
cmd.AddCommand(newValidateCommand())
|
||
|
return cmd
|
||
|
}
|