Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Set via config Origin Remote Upstream Remote // Set via flags URL string Owner string Repo string Token string // Set via Before OwnerRepoCtxSet bool Flags = []cli.Flag{ &cli.StringFlag{ Name: "origin", Usage: "The origin remote", Value: config.Origin, Destination: &Origin.Name, }, &cli.StringFlag{ Name: "upstream", Usage: "The upstream remote", Value: config.Upstream, Destination: &Upstream.Name, }, &cli.StringFlag{ Name: "url", Aliases: []string{"u"}, Usage: "The base URL to the Gitea instance", Value: getUpstream().URL, Destination: &URL, }, &cli.StringFlag{ Name: "owner", Aliases: []string{"o"}, Usage: "The owner to target", Value: getUpstream().Owner, Destination: &Owner, }, &cli.StringFlag{ Name: "repo", Aliases: []string{"r"}, Usage: "The repo to target", Value: getUpstream().Repo, Destination: &Repo, }, &cli.StringFlag{ Name: "token", Aliases: []string{"t"}, Usage: "The access token to use (by name)", Destination: &Token, }, } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.