mirror of https://github.com/databricks/cli.git
refactor: Ignore error on MarkHidden for verbose flag
This commit is contained in:
parent
583f6f2ac1
commit
9a41b6505b
|
@ -38,9 +38,7 @@ func newDeployCommand() *cobra.Command {
|
|||
}
|
||||
cmd.Flags().BoolVar(&verbose, "verbose", false, "Enable verbose output.")
|
||||
// Verbose flag currently only affects file sync output, it's used by the vscode extension
|
||||
if err := cmd.Flags().MarkHidden("verbose"); err != nil {
|
||||
return nil
|
||||
}
|
||||
_ = cmd.Flags().MarkHidden("verbose")
|
||||
|
||||
cmd.RunE = func(cmd *cobra.Command, args []string) error {
|
||||
ctx := cmd.Context()
|
||||
|
|
Loading…
Reference in New Issue