MCPcopy Create free account
hub / github.com/Permify/permify / NewValidateCommand

Function NewValidateCommand

pkg/cmd/validate.go:33–42  ·  view source on GitHub ↗

NewValidateCommand - creates a new validate command

()

Source from the content-addressed store, hash-verified

31
32// NewValidateCommand - creates a new validate command
33func NewValidateCommand() *cobra.Command {
34 command := &cobra.Command{
35 Use: "validate <file>",
36 Short: "validate authorization model with assertions",
37 RunE: validate(),
38 Args: cobra.ExactArgs(1),
39 }
40
41 return command
42}
43
44// ErrList - error list
45type ErrList struct {

Callers 1

mainFunction · 0.92

Calls 1

validateFunction · 0.85

Tested by

no test coverage detected