package main import ( "encoding/json" "fmt" "log" "os" "regexp" "strings" "github.com/aspect-build/bazel-lib/tools/common" "golang.org/x/exp/maps" ) func main() { args := os.Args[1:] if len(args) == 1 { if args[0] == "--version" || args[0] == "-v" { fmt.Printf("expand_template %s\n", common.Version()) return } } if len(args) != 6 { fmt.Println("Usage: expand_template