diff --git a/example/producer/interpreter/main.go b/example/producer/interpreter/main.go index ec1fe9a..1b5bcec 100644 --- a/example/producer/interpreter/main.go +++ b/example/producer/interpreter/main.go @@ -2,10 +2,12 @@ package main import ( "bufio" + "encoding/json" "flag" "fmt" "os" "path" + "path/filepath" "strings" "github.com/bazelbuild/rules_go/go/runfiles" @@ -15,10 +17,12 @@ import ( func main() { loadmapPath := flag.String("loadmap", "", "path to the loadmap file") + propertiesPath := flag.String("properties", "", "path to the properties JSON file") + repoName := flag.String("repo", "", "canonical name of the caller's repository") flag.Parse() if flag.NArg() != 1 { - fmt.Fprintf(os.Stderr, "usage: %s [--loadmap ] \n", os.Args[0]) + fmt.Fprintf(os.Stderr, "usage: %s --repo [--loadmap ]