Skip to content

Commit

Permalink
fix: 2024-05-30 22:30:37
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed May 30, 2024
1 parent 06159f6 commit a724184
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# protobuild
protobuf build tool
> protobuf build and management tool
## install

go install github.com/pubgo/protobuild@latest

## example

[protobuf.yaml](https://github.com/pubgo/lava/blob/master/internal/example/grpc/protobuf.yaml)

```yaml
protobuild -f protobuf.yaml vendor
protobuild -f protobuf.yaml gen
```

## protoc-gen-[plugin]

Expand Down
2 changes: 1 addition & 1 deletion cmd/protobuild/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func Main() *cli.App {
Flags: typex.Flags{
&cli.StringFlag{
Name: "conf",
Aliases: typex.Strs{"c"},
Aliases: typex.Strs{"c", "f"},
Usage: "protobuf config path",
Value: protoCfg,
Destination: &protoCfg,
Expand Down

0 comments on commit a724184

Please sign in to comment.