Skip to main content
Version: 0.4

capact validate

capact validate#

Validate OCF manifests

capact validate [flags]

Examples#

# Validate interface-group.yaml file with OCF specification in default locationcapact validate ocf-spec/0.0.1/examples/interface-group.yaml
# Validate multiple files inside test_manifests directorycapact validate pkg/cli/test_manifests/*.yaml
# Validate interface-group.yaml file with custom OCF specification location capact validate -s my/ocf/spec/directory ocf-spec/0.0.1/examples/interface-group.yaml
# Validate all Hub manifestscapact validate ./manifests/**/*.yaml

Options#

  -h, --help             help for validate  -s, --schemas string   Path to the local directory with OCF JSONSchemas. If not provided, built-in JSONSchemas are used.

Options inherited from parent commands#

  -c, --config string   Path to the YAML config file

SEE ALSO#

  • capact - Collective Capability Manager CLI