Simone Tripodi created SLING-7966:
-------------------------------------
Summary: Enhance the CLI by adding tool informations and more
descriptive options
Key: SLING-7966
URL: https://issues.apache.org/jira/browse/SLING-7966
Project: Sling
Issue Type: Improvement
Components: Feature Model, Tooling
Affects Versions: Feature Model Analyser 0.1.4
Reporter: Simone Tripodi
Assignee: Bertrand Delacretaz
Fix For: Feature Model Analyser 0.1.4
The proposal is about improving the user experience and doesn't intend to
change any existing feature.
Currently, command output is really concise:
{noformat}
$ java org.apache.sling.feature.analyser.main.Main
[INFO] Apache Sling Application Analyser
[INFO]
[ERROR] Required argument missing: feature file
{noformat}
I would like to have it improved like described (but not included) in
SLING-7929:
{noformat}
$ java org.apache.sling.feature.analyser.main.Main
Usage: sfa [-hqvX] -f=<featureFile> [-p=<pluginClass>]
Apache Sling Application Analyser
-f, --feature-file=<featureFile>
Set feature file.
-h, --help Display the usage message.
-p, --plugin-class=<pluginClass>
Explicitly specify plugin class to run, if ommitted the
default
plugins are used
-q, --quiet Log errors only.
-v, --version Display version information.
-X, --verbose Produce execution debug output.
Copyright(c) 2018 The Apache Software Foundation.
{noformat}
Pull request is coming
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)