You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/06/21 07:10:04 UTC

[servicecomb-toolkit] 48/49: format README

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-toolkit.git

commit 4884afdaf51c366e0b72cdc00bdf82713e827f8e
Author: kakulisen <18...@163.com>
AuthorDate: Tue Jun 11 12:09:19 2019 +0800

    format README
    
    Signed-off-by: kakulisen <18...@163.com>
---
 README-ZH.md |  6 +++---
 README.md    | 36 ++++++++++++++++++------------------
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/README-ZH.md b/README-ZH.md
index 74e8f6c..c48f5f1 100755
--- a/README-ZH.md
+++ b/README-ZH.md
@@ -107,11 +107,11 @@ $ java -jar toolkit-cli-{version}.jar  codegenerate -m ServiceComb -i swagger.ya
 例:--artifact-id springmvc-example
 * --artifact-version : 指定生成的项目的artifact version  
 例:--artifact-version 1.0.0
-* --api-package : 指定生成项目的api package
+* --api-package : 指定生成项目的api package  
 例:--api-package com.demo.api
-* --model-package : 指定生成项目的model package
+* --model-package : 指定生成项目的model package   
 例:--model-package com.demo.model
-* -t, --service-type : 指定生成的微服务项目的微服务类型。可选值为provider,consumer,all               
+* -t, --service-type : 指定生成的微服务项目的微服务类型。可选值为provider,consumer,all                  
 例:--service-type provider  
 
 #### 3.2.2 契约生成文档
diff --git a/README.md b/README.md
index fbf7e56..12ad334 100755
--- a/README.md
+++ b/README.md
@@ -92,26 +92,26 @@ $ java -jar toolkit-cli-{version}.jar help
 $ java -jar toolkit-cli-{version}.jar  codegenerate -m ServiceComb -i swagger.yaml -o ./project -p SpringMVC
 ```
 > **codegenerate** Command option
-* -m, --microservice-framework. Specify microservices framework, now supports ServiceComb.
-例:-m ServiceComb
-* -p, --programming-model. Specify programming model, optional JAX-RS, POJO, SpringMVC, SpringBoot.
-例:-p SpringMvc
-* -i, --input. Specifies contract files that follow the OpenAPI specification, supports yaml and json formats, and supports specifying local and network files.
-例:-i http://petstore.swagger.io/v2/swagger.json
+* -m, --microservice-framework. Specify microservices framework, now supports ServiceComb.  
+e.g.:-m ServiceComb
+* -p, --programming-model. Specify programming model, optional JAX-RS, POJO, SpringMVC, SpringBoot.  
+e.g.:-p SpringMvc
+* -i, --input. Specifies contract files that follow the OpenAPI specification, supports yaml and json formats, and supports specifying local and network files.  
+e.g.:-i http://petstore.swagger.io/v2/swagger.json
 * -o, --output. Generated project code output path.  
-例:-o ./project
-* --group-id. Specify the group id of the generated project.
-例:--group-id com.demo
-* --artifact-id. Specify the artifact id of the generated project.
-例:--artifact-id springmvc-example
-* --artifact-version. Specify the artifact version of the generated project.
-例:--artifact-version 1.0.0
-* --api-package : Specify the api package of the generated project.
-例:--api-package com.demo.api
-* --model-package : Specify the model package of the generated project.
-例:--model-package com.demo.model
+e.g.:-o ./project
+* --group-id. Specify the group id of the generated project.  
+e.g.:--group-id com.demo
+* --artifact-id. Specify the artifact id of the generated project.  
+e.g.:--artifact-id springmvc-example
+* --artifact-version. Specify the artifact version of the generated project.   
+e.g.:--artifact-version 1.0.0
+* --api-package : Specify the api package of the generated project.   
+e.g.:--api-package com.demo.api  
+* --model-package : Specify the model package of the generated project.  
+e.g.:--model-package com.demo.model
 * -t, --service-type : Specify microservice type of generated microservice project. optional value is provider,consumer,all               
-例:--service-type provider  
+e.g.:--service-type provider  
 
 #### 3.2.2 Service contract generation document
 ```shell