MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / validateOutFlagValue

Function validateOutFlagValue

cmd/flags_definers.go:443–446  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

441}
442
443func validateOutFlagValue(cmd *cobra.Command) error {
444 return validateFlagStringValue([]string{JSON, YAML, "simple"},
445 cmd, "out")
446}
447
448func validateFlagStringValue(stringSlice []string,
449 cmd *cobra.Command, fName string) error {

Callers 4

new.goFile · 0.85
edit.goFile · 0.85
get.goFile · 0.85
desc.goFile · 0.85

Calls 1

validateFlagStringValueFunction · 0.85

Tested by

no test coverage detected