From 6c1b20f7d1bf2d0ef882322b108cf1c1600f9513 Mon Sep 17 00:00:00 2001 From: rliang Date: Mon, 20 Nov 2023 19:08:04 -0300 Subject: [PATCH] chore: update docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69567fd..42b924f 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,8 @@ To generate source files from a `buf` project into another project, use the `@go "options": { "srcProject": "proto", "copyFrom": ["gen/*"], - "copyTo": "src/gen" + "copyTo": "src/gen", + "options": "--include-imports" } }, "build": { @@ -72,6 +73,7 @@ The options are as follows: * `srcProject`: the project from where to grab the generated sources after running `buf generate`. * `copyFrom`: a list of glob patterns to copy from that project, relative to its root. * `copyTo`: the destination folder, relative to the target project. +* `options`: (optional) additional command-line arguments to pass to `buf generate`. ### Dependency graph