[
https://issues.apache.org/jira/browse/SCB-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006702#comment-17006702
]
Daniel Qian commented on SCB-1701:
----------------------------------
[~njiang], I looked into the cli library airline, and found it doesn't support
command alias. But I can do like this:
{code:java}
// code placeholder
usage: java -jar cli-0.2.0.jar <command> [<args>]The most commonly used java
-jar cli-0.2.0.jar commands are:
checkcompatibility (Or cc for abbr). Check compatibility for two OpenAPI
v3 spec yamls, right one should be semantically compatible with left one
checkstyle (Or cs for abbr). Check style for OpenAPI v3 spec yaml.
codegenerate Generate multiple models of microservice project by
OpenAPI specification file
docgenerate Generate document by OpenAPI specification file
help Display help informationSee 'java -jar cli-0.2.0.jar
help <command>' for more information on a specific
command.
{code}
> Clean up the help document for CLI of toolkit
> ---------------------------------------------
>
> Key: SCB-1701
> URL: https://issues.apache.org/jira/browse/SCB-1701
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: toolkit
> Reporter: Willem Jiang
> Assignee: Daniel Qian
> Priority: Minor
>
> It could be more clear if we can put the short version of parameter and long
> version of parameter together.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)