Move genflags tool to cmd/ and pin to previous release

to alleviate problems caused by the circular dependency of using the
same code as a library that is potentially being generated to adhere to
a different API.
This commit is contained in:
2022-08-14 10:02:07 -04:00
parent e3ee4fb3ef
commit 3e4237a67f
17 changed files with 252 additions and 203 deletions

View File

@@ -94,7 +94,7 @@ func main() {
},
&cli.StringSliceFlag{
Name: "packages",
Value: cli.NewStringSlice("cli", "altsrc", "internal/build", "internal/genflags"),
Value: cli.NewStringSlice("cli", "altsrc", "internal/build"),
},
}