databricks-cli/cmd/workspace/instance-profiles/overrides.go

17 lines
319 B
Go

package instance_profiles
import (
"github.com/databricks/cli/libs/cmdio"
"github.com/spf13/cobra"
)
func listOverride(listCmd *cobra.Command) {
listCmd.Annotations["template"] = cmdio.Heredoc(`
{{range .}}{{.InstanceProfileArn}}
{{end}}`)
}
func init() {
listOverrides = append(listOverrides, listOverride)
}