Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
Forks []ForkConfiguration `toml:"repository"`
}
Configuration Global configuration.
type ForkConfiguration ¶
ForkConfiguration Fork configuration.
type GenerateOptions ¶
type GenerateOptions struct { Sample bool `description:"Generate a sample configuration file."` Org string `description:"Generate a default configuration file for an organization name."` User string `description:"Generate a default configuration file for a user name."` GitHubToken string `long:"token" short:"t" description:"GitHub Token."` }
GenerateOptions Generator command options.
type SyncOptions ¶
type SyncOptions struct { GitHubToken string `long:"token" short:"t" description:"GitHub Token [required]."` ConfigFilePath string `long:"config-path" description:"Path to the configuration file."` ServerMode bool `long:"server" description:"Server mode."` ServerPort int `long:"port" description:"Server port."` DryRun bool `long:"dry-run" description:"Dry run mode."` Verbose bool `long:"verbose" description:"Verbose mode."` }
SyncOptions Synchronizer command options.
Click to show internal directories.
Click to hide internal directories.