You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/01/05 09:01:00 UTC

[jira] [Resolved] (SLING-7966) Enhance the CLI by adding tool informations and more descriptive options

     [ https://issues.apache.org/jira/browse/SLING-7966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-7966.
-------------------------------------
    Resolution: Later

> 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.2.0
>            Reporter: Simone Tripodi
>            Priority: Major
>
> 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
(v8.3.4#803005)