Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = []cli.Command{ { Name: "sync", Aliases: []string{"s"}, Usage: "sync git repositories", Flags: SyncFlags, Action: Sync, }, }
View Source
var Flags = []cli.Flag{ cli.BoolFlag{ EnvVar: "GMIRROR_DEBUG", Name: "debug, d", Usage: "running gmirror in debug mode", Destination: &setting.DebugMode, }, }
View Source
var SyncFlags = []cli.Flag{ cli.BoolFlag{ EnvVar: "GMIRROR_DEBUG", Name: "debug, d", Usage: "running gmirror in debug mode", }, cli.StringFlag{ Name: "origin, o", Usage: "origin repo", Destination: &origin, }, cli.StringFlag{ Name: "target, t", Usage: "target repo", Destination: &target, }, cli.StringFlag{ EnvVar: "GMIRROR_TOKEN", Name: "token, k", Usage: "token or password", Destination: &token, }, cli.StringFlag{ EnvVar: "GMIRROR_USERNAME", Name: "username, u", Usage: "username", Destination: &username, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.