2023-07-27 10:03:08 +00:00
package bundle
import (
2024-02-14 18:04:45 +00:00
"github.com/databricks/cli/cmd/bundle/deployment"
2023-07-27 10:03:08 +00:00
"github.com/spf13/cobra"
)
func New ( ) * cobra . Command {
cmd := & cobra . Command {
2023-12-28 13:14:55 +00:00
Use : "bundle" ,
Short : "Databricks Asset Bundles let you express data/AI/analytics projects as code." ,
2024-04-25 11:25:26 +00:00
Long : "Databricks Asset Bundles let you express data/AI/analytics projects as code.\n\nOnline documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html" ,
2023-12-28 13:14:55 +00:00
GroupID : "development" ,
2023-07-27 10:03:08 +00:00
}
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 ( ) )
2023-08-07 13:14:25 +00:00
cmd . AddCommand ( newInitCommand ( ) )
2024-01-25 11:32:47 +00:00
cmd . AddCommand ( newSummaryCommand ( ) )
2024-01-17 14:26:33 +00:00
cmd . AddCommand ( newGenerateCommand ( ) )
2024-04-02 12:56:27 +00:00
cmd . AddCommand ( newDebugCommand ( ) )
2024-02-14 18:04:45 +00:00
cmd . AddCommand ( deployment . NewDeploymentCommand ( ) )
2023-07-27 10:03:08 +00:00
return cmd
}