mirror of https://github.com/databricks/cli.git
11 lines
382 B
Go
11 lines
382 B
Go
package bundle
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func initVariableFlag(cmd *cobra.Command) {
|
|
cmd.PersistentFlags().StringSlice("var", []string{}, `set values for variables defined in bundle config. Example: --var="foo=bar"`)
|
|
cmd.PersistentFlags().String("vars-file-path", "", `file path to a JSON file containing variables. Example: --vars-file-path="/path/to/vars.json"`)
|
|
}
|