summaryrefslogtreecommitdiff
path: root/internal/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd')
-rw-r--r--internal/cmd/sync.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/cmd/sync.go b/internal/cmd/sync.go
index a28f50d..df7aa5b 100644
--- a/internal/cmd/sync.go
+++ b/internal/cmd/sync.go
@@ -15,6 +15,7 @@ var (
autoCreate bool
noAIReleaseNotes bool
syncAITool string
+ throttle bool
)
var syncCmd = &cobra.Command{
@@ -190,6 +191,7 @@ func init() {
syncCmd.PersistentFlags().BoolVar(&autoCreate, "auto-create-releases", false, "automatically create releases without confirmation")
syncCmd.PersistentFlags().BoolVar(&noAIReleaseNotes, "no-ai-release-notes", false, "disable AI-generated release notes (AI notes are enabled by default)")
syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "amp", "AI tool to use for release notes when auto-creating (amp, claude, aichat, or hexai; amp is tried first if available)")
+ syncCmd.PersistentFlags().BoolVar(&throttle, "throttle", false, "throttle syncing based on local repo activity")
}
func buildFlags() *cli.Flags {
@@ -202,6 +204,7 @@ func buildFlags() *cli.Flags {
AutoCreateReleases: autoCreate,
AIReleaseNotes: !noAIReleaseNotes,
AITool: syncAITool,
+ Throttle: throttle,
CreateGitHubRepos: createRepos,
CreateCodebergRepos: createRepos,
}