From a361e6a486a1eff342235552f5c2813748ce2107 Mon Sep 17 00:00:00 2001 From: Doria Keung Date: Wed, 6 Nov 2024 11:48:24 -0500 Subject: [PATCH] Add `clean` key to `buf generate` long description (#3451) Co-authored-by: Stefan VanBuren --- private/buf/cmd/buf/command/generate/generate.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/private/buf/cmd/buf/command/generate/generate.go b/private/buf/cmd/buf/command/generate/generate.go index d35213a50e..4eb58710bb 100644 --- a/private/buf/cmd/buf/command/generate/generate.go +++ b/private/buf/cmd/buf/command/generate/generate.go @@ -68,6 +68,10 @@ func NewCommand( # The valid values are v1beta1, v1 and v2. # Required. version: v2 + # When clean is set to true, delete the directories, zip files, and/or jar files specified in the + # "out" field for all plugins before running code generation. Defaults to false. + # Optional. + clean: true # The plugins to run. # Required. plugins: