Documentation
¶
Index ¶
- func HandleCheckReleases(cfg *config.Config, flags *Flags) int
- func HandleCheckReleasesForRepo(cfg *config.Config, flags *Flags, repoName string) int
- func HandleCheckReleasesForRepos(cfg *config.Config, flags *Flags, repositories []string) int
- func HandleDeleteRepo(cfg *config.Config, repoName string) int
- func HandleListOrgs(cfg *config.Config) int
- func HandleListRepos(cfg *config.Config) int
- func HandleShowcase(cfg *config.Config, flags *Flags) int
- func HandleShowcaseOnly(cfg *config.Config, flags *Flags) int
- func HandleSync(cfg *config.Config, flags *Flags) int
- func HandleSyncAll(cfg *config.Config, flags *Flags) int
- func HandleSyncCodebergPublic(cfg *config.Config, flags *Flags) int
- func HandleSyncGitHubPublic(cfg *config.Config, flags *Flags) int
- func HandleTestGitHubToken() int
- func HandleVersion() int
- func LoadConfig(configPath string) (*config.Config, error)
- func ShowConfigHelp()
- func ShowFullSyncMessage()
- func ShowUsage(cfg *config.Config)
- type Flags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCheckReleases ¶ added in v0.6.2
HandleCheckReleases checks for version tags without releases and creates them with confirmation
func HandleCheckReleasesForRepo ¶ added in v0.6.2
HandleCheckReleasesForRepo checks releases for a specific repository
func HandleCheckReleasesForRepos ¶ added in v0.6.2
HandleCheckReleasesForRepos checks for version tags without releases and creates them with confirmation
func HandleDeleteRepo ¶
HandleDeleteRepo handles the --delete-repo flag
func HandleListOrgs ¶
HandleListOrgs lists configured organizations
func HandleListRepos ¶
HandleListRepos lists configured repositories
func HandleShowcase ¶ added in v0.4.0
HandleShowcase handles the showcase generation after syncing
func HandleShowcaseOnly ¶ added in v0.4.0
HandleShowcaseOnly handles showcase generation without syncing It will clone repositories if they don't exist locally, but won't sync changes
func HandleSync ¶
HandleSync handles syncing a single repository
func HandleSyncAll ¶
HandleSyncAll handles syncing all configured repositories
func HandleSyncCodebergPublic ¶
HandleSyncCodebergPublic handles syncing all public Codeberg repositories
func HandleSyncGitHubPublic ¶
HandleSyncGitHubPublic handles syncing all public GitHub repositories
func HandleTestGitHubToken ¶
func HandleTestGitHubToken() int
HandleTestGitHubToken tests GitHub token authentication
func LoadConfig ¶
LoadConfig loads configuration from the specified path or default locations
func ShowConfigHelp ¶
func ShowConfigHelp()
ShowConfigHelp displays help for creating a configuration file
func ShowFullSyncMessage ¶
func ShowFullSyncMessage()
ShowFullSyncMessage displays the full sync mode message
Types ¶
type Flags ¶
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 // Internal fields for batch run state management (not set by flags) BatchRunStateManager *state.Manager BatchRunState *state.State }
Flags holds all command-line flag values
func ParseFlags ¶
func ParseFlags() *Flags
ParseFlags parses command-line flags and returns the flags struct