[ 
https://issues.apache.org/jira/browse/SLING-7966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634075#comment-16634075
 ] 

ASF GitHub Bot commented on SLING-7966:
---------------------------------------

simonetripodi commented on issue #4: SLING-7966 - Enhance the CLI by adding 
tool informations and more descriptive options
URL: 
https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/4#issuecomment-425921430
 
 
   Hi there @bdelacretaz !
   As requested, here it is the proposal about improving the Analyzer CLI.
   
   Apache Commons-CLI replaced the the ASF licensed picocli 
(https://picocli.info/) which makes the args parsing setup less verbose.
   Logging level can be selected by end users by enabling CLI options, a 
shutdown-hook has been added to report users memory usage.
   
   HTH! :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>            Priority: Major
>             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)

Reply via email to