You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 919e61c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: main.go
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ type rootT struct {
42
42
ForceLowerbool
43
43
ForceUpperbool
44
44
NoCommentsbool
45
+
OutputSuffixstring
45
46
}
46
47
47
48
funcmain() {
@@ -174,6 +175,11 @@ func main() {
174
175
Usage: "Adds build tags to a generated enum file.",
175
176
Destination: &argv.BuildTags,
176
177
},
178
+
&cli.StringFlag{
179
+
Name: "output-suffix",
180
+
Usage: "Changes the default filename suffix of _enum to something else. `.go` will be appended to the end of the string no matter what, so that `_test.go` cases can be accommodated ",
0 commit comments