-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Would it be nice to have a simple CLI provided by this package. I would propose a simple interface which would load data+shapes to memory and offer at least two output "modes"
Standard mode
Writes the validation report to standard output, optionally using type specified in --format
npx rdf-validate-shacl \
--shapes Person.shape.ttl \
--data people.nq \
--format application/ld+json
Without --format it would send n-quads so that the report can be piped easily to other tools
npx rdf-validate-shacl | other-cli-tool
Quiet mode
This would print nothing just return an exit code != 0 when validation failed
npx rdf-validate-shacl \
--shapes Person.shape.ttl \
--data people.nq \
--quiet
Globs for loading the graphs
npx rdf-validate-shacl --shapes shapes/*.ttl --data input/*
Metadata
Metadata
Assignees
Labels
No labels