Skip to content

Commit

Permalink
Add clean key to buf generate long description (#3451)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan VanBuren <svanburen@buf.build>
  • Loading branch information
doriable and stefanvanburen authored Nov 6, 2024
1 parent 5fb95b8 commit a361e6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions private/buf/cmd/buf/command/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a361e6a

Please sign in to comment.