summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 14:34:16 -0500
committerJeff Carr <[email protected]>2025-10-17 14:34:16 -0500
commit0eaa9d0408d07b1c8c5214775ebb942dc210002b (patch)
tree39a61b0581ea33af695b70d169492feb2776abec /main.go
parent0b547c92363446bcaa05c30d1553aad288a3db59 (diff)
put the generate list in resources file
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 4c597cb..42e3a81 100644
--- a/main.go
+++ b/main.go
@@ -142,6 +142,10 @@ func main() {
s, err = doPatch()
}
+ if argv.Generate != nil {
+ s, err = doGenerate()
+ }
+
if argv.Whatchanged != nil {
// this might be deprecated by the git devs
// I put it here because of finger memory and it's nice