ruby-rdf / shex

The Unlicense
12 stars 2 forks source link

CLI support? #5

Closed dpriskorn closed 1 year ago

dpriskorn commented 1 year ago

Hi, I'm new to Ruby. Would it be possible to execute this validation from the CLI? If not, could you add cli support? See https://www.wikidata.org/wiki/User:So9q/shexjs for how shexjs enables cli support

gkellogg commented 1 year ago

See the README for how to use the Command Line. For example:

rdf shex https://raw.githubusercontent.com/ruby-rdf/shex/develop/etc/doap.ttl \
  --schema https://raw.githubusercontent.com/ruby-rdf/shex/develop/etc/doap.shex \
  --focus https://rubygems.org/gems/shex