summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-20 20:41:24 -0500
committerJeff Carr <[email protected]>2025-04-20 20:41:24 -0500
commit52c9fece43e5845ed795887eab073c88d70420e0 (patch)
treebc9d8f574c74c959222a4aa6a7b0545a828ce45c /main.go
parent06cf0f7d844192eacbaeec60e3cc12c9a7968469 (diff)
add 'forge sync'v0.22.115
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index 6e63f12..2cf2ed9 100644
--- a/main.go
+++ b/main.go
@@ -91,6 +91,13 @@ func main() {
okExit("")
}
+ if argv.Sync != nil {
+ if err := doSync(); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
if argv.Build != "" {
if err := doBuild(); err != nil {
badExit(err)