We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e85e43 commit 294e20aCopy full SHA for 294e20a
2 files changed
cmd/protoc-gen-dapr/main.go cmd/main.gocmd/protoc-gen-dapr/main.go renamed to cmd/main.go
@@ -1,4 +1,4 @@
1
-package main
+package cmd
2
3
import (
4
"flag"
@@ -9,9 +9,9 @@ import (
9
"google.golang.org/protobuf/types/pluginpb"
10
)
11
12
-const version = "1.0.0"
+const version = "0.3.0"
13
14
-func main() {
+func Execute() {
15
showVersion := flag.Bool("version", false, "print the version and exit")
16
flag.Parse()
17
if *showVersion {
main.go
@@ -0,0 +1,7 @@
+package main
+
+import "github.com/purefun/protoc-gen-dapr/cmd"
5
+func main() {
6
+ cmd.Execute()
7
+}
0 commit comments