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: