2022-11-21 14:39:53 +00:00
|
|
|
package bundle
|
|
|
|
|
|
|
|
import (
|
2023-05-16 16:35:39 +00:00
|
|
|
"github.com/databricks/cli/cmd/root"
|
2022-11-21 14:39:53 +00:00
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
// rootCmd represents the root command for the bundle subcommand.
|
|
|
|
var rootCmd = &cobra.Command{
|
|
|
|
Use: "bundle",
|
2023-04-21 11:41:25 +00:00
|
|
|
Short: "Databricks Asset Bundles",
|
2022-11-21 14:39:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func AddCommand(cmd *cobra.Command) {
|
|
|
|
rootCmd.AddCommand(cmd)
|
|
|
|
}
|
|
|
|
|
2023-05-15 09:34:05 +00:00
|
|
|
var variables []string
|
|
|
|
|
2022-11-21 14:39:53 +00:00
|
|
|
func init() {
|
|
|
|
root.RootCmd.AddCommand(rootCmd)
|
2023-05-15 09:34:05 +00:00
|
|
|
AddVariableFlag(rootCmd)
|
2022-11-21 14:39:53 +00:00
|
|
|
}
|