summaryrefslogtreecommitdiff
path: root/internal/cli/flags.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-07 22:07:27 +0200
committerPaul Buetow <paul@buetow.org>2026-02-07 22:07:27 +0200
commitebc50a6600fcf4ebc53df4846f790bb05757b3df (patch)
tree64e66a0cbed140a75aa580fe9ba02d510b68601c /internal/cli/flags.go
parent545e65fe16c761822f0999b8f4ab05f1cd325975 (diff)
feat(sync): add throttled sync modev0.12.0
Introduce an opt-in throttle that skips inactive repos based on local activity and per-repo cooldowns, and bump the version to 0.12.0. Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'internal/cli/flags.go')
-rw-r--r--internal/cli/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/cli/flags.go b/internal/cli/flags.go
index 5c6914c..bb00a39 100644
--- a/internal/cli/flags.go
+++ b/internal/cli/flags.go
@@ -36,6 +36,7 @@ type Flags struct {
AIReleaseNotes bool
UpdateReleases bool
AITool string
+ Throttle bool
// Internal fields for batch run state management (not set by flags)
BatchRunStateManager *state.Manager
@@ -73,6 +74,7 @@ func ParseFlags() *Flags {
flag.BoolVar(&f.AutoCreateReleases, "auto-create-releases", false, "automatically create releases without confirmation prompts")
flag.BoolVar(&f.AIReleaseNotes, "ai-release-notes", false, "generate release notes using AI (amp by default) based on git diff")
flag.BoolVar(&f.UpdateReleases, "update-releases", false, "update existing releases with new AI-generated notes")
+ flag.BoolVar(&f.Throttle, "throttle", false, "enable throttled syncing based on local activity")
flag.Parse()