cmader/qSKOS — Issue #7: CMD usage - distinguish between commands and options
Author: behas
Created: 2012-03-08 16:46:40+00:00
State: open

Given the growing number of options, we should probably convert some options into commands. The general usage syntax would then be: qSKOS [options] [vocabulary file(s)]

Which means that, when "qSKOS" or "qSKOS help" is executed, the following usage info is returned:

--
qSKOS vocabulary quality analysis tool, version X.X.X.

Usage: qSKOS [options] [vocabulary file(s)]

Available commands:
list (l) List available SKOS quality metrics
summarize (s) Compute basic vocabulary statistics
analyze (a) Compute vocabulary quality metrics
help (h) Describe the usage of this program and its commands

Example usage:
qSKOS summarize myThesaurus.rdf
qSKOS list
qSKOS analyze -m lc myThesaurus.rdf
qSKOS analyze -m lc -d myThesaurus.rdf
qSKOS analyze myThesaurus.rdf myotherThesaurus.rdf