summaryrefslogtreecommitdiff
path: root/internal/cli/flags.go
blob: 852551c0b307cf233dc25b88189724e36fc0ffef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cli

import "codeberg.org/snonux/gitsyncer/internal/state"

// Flags holds all command-line flag values
type Flags struct {
	VersionFlag         bool
	ConfigPath          string
	ListOrgs            bool
	ListRepos           bool
	SyncRepo            string
	SyncAll             bool
	SyncCodebergPublic  bool
	SyncGitHubPublic    bool
	FullSync            bool
	CreateGitHubRepos   bool
	CreateCodebergRepos bool
	DryRun              bool
	WorkDir             string
	TestGitHubToken     bool
	Clean               bool
	DeleteRepo          string
	Backup              bool
	Showcase            bool
	Force               bool
	BatchRun            bool
	CheckReleases       bool
	NoCheckReleases     bool
	AutoCreateReleases  bool
	AIReleaseNotes      bool
	UpdateReleases      bool
	AITool              string
	Throttle            bool

	// Internal fields for batch run state management (not set by flags)
	BatchRunStateManager *state.Manager
	BatchRunState        *state.State
}