MCPcopy Create free account
hub / github.com/conforma/cli / NewValidateCmd

Function NewValidateCmd

cmd/validate/validate.go:41–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func NewValidateCmd() *cobra.Command {
42 validateCmd := &cobra.Command{
43 Use: "validate",
44 Short: "Validate conformance with the provided policies",
45 }
46 validateCmd.PersistentFlags().Bool("show-successes", false, "")
47 validateCmd.PersistentFlags().Bool("show-warnings", true, "")
48 validateCmd.PersistentFlags().Bool("show-policy-docs-link", false, "Show link to policy documentation in output when there are violations or warnings")
49 return validateCmd
50}

Callers 3

setUpValidateInputCmdFunction · 0.85
setUpCobraFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by 2

setUpValidateInputCmdFunction · 0.68
setUpCobraFunction · 0.68