From ba5b9e8eb8a6a6bb4f6a6d952ea1a238f3473d31 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 19 Jan 2021 12:59:47 +0300 Subject: [PATCH] update readme Signed-off-by: Vasiliy Tolstov --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e587749..2854f44 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,13 @@ $> protoc --gotemplate_out=debug=true,template_dir=/path/to/template/directory:. | Option | Default Value | Accepted Values | Description |-----------------------|---------------|---------------------------|----------------------- +| `template_repo` | `` | url in form schema://domain | path to repo with optional branch or revision after @ sign | `template_dir`       | `./template` | absolute or relative path | path to look for templates | `destination_dir`     | `.`           | absolute or relative path | base path to write output | `single-package-mode` | *false* | `true` or `false` | if *true*, `protoc` won't accept multiple packages to be compiled at once (*!= from `all`*), but will support `Message` lookup across the imported protobuf dependencies | `debug`               | *false*       | `true` or `false` | if *true*, `protoc` will generate a more verbose output | `all`                 | *false*       | `true` or `false`         | if *true*, protobuf files without `Service` will also be parsed - +| `components` | `micro` | `micro, grpc, http, chi, gorilla | some values cant coexists like gorilla/chi or grpc/http ##### Hints Shipping the templates with your project is very smart and useful when contributing on git-based projects.