Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = cli.Command{ Name: "config", Aliases: []string{"cfg"}, Usage: "Modify Sip config", Action: doConfig, Subcommands: []*cli.Command{ { Name: "origin", Usage: "Specify default origin name", Action: doConfigOrigin, }, { Name: "upstream", Usage: "Specify default upstream name", Action: doConfigUpstream, }, }, }
View Source
var Issues = cli.Command{ Name: "issues", Aliases: []string{"issue"}, Usage: "Commands for interacting with issues", Action: doIssuesSearch, Subcommands: []*cli.Command{ &IssuesCreate, }, Flags: []cli.Flag{ &cli.StringFlag{ Name: "csv", Usage: "Output results to a CSV file at `PATH`", }, }, }
View Source
var IssuesCreate = cli.Command{ Name: "create", Aliases: []string{"new"}, Usage: "Create a new issue", Action: doIssueCreate, }
View Source
var Open = cli.Command{ Name: "open", Aliases: []string{"o"}, Usage: "Open a repository or issue/pull request", Action: doOpen, }
View Source
var Pulls = cli.Command{ Name: "pulls", Aliases: []string{"pull", "pr"}, Usage: "Commands for interacting with pull requests", Action: doPullsSearch, Subcommands: []*cli.Command{ &PullsCreate, &PullsStatus, &PullsCheckout, }, Flags: []cli.Flag{ &cli.StringFlag{ Name: "csv", Usage: "Output results to a CSV file at `PATH`", }, }, }
View Source
var PullsCheckout = cli.Command{
Name: "checkout",
Usage: "Checkout a pull request for testing",
Action: doPullCheckout,
}
View Source
var PullsCreate = cli.Command{ Name: "create", Aliases: []string{"new"}, Usage: "Create a new pull request", Action: doPullCreate, }
View Source
var PullsStatus = cli.Command{
Name: "status",
Usage: "View the status of a pull request",
Action: doPullStatus,
}
View Source
var Release = cli.Command{ Name: "releases", Aliases: []string{"release"}, Usage: "Commands for interacting with releases", Action: doRelease, Subcommands: []*cli.Command{ &ReleaseCreate, &ReleaseAttach, }, Flags: []cli.Flag{ &cli.StringFlag{ Name: "csv", Usage: "Output results to a CSV file at `PATH`", }, }, }
View Source
var ReleaseAttach = cli.Command{
Name: "attach",
Usage: "Attach files to a release",
Action: doReleaseAttach,
}
View Source
var ReleaseCreate = cli.Command{ Name: "create", Aliases: []string{"new"}, Usage: "Create a new release", Action: doReleaseCreate, }
View Source
var Repo = cli.Command{ Name: "repo", Usage: "Commands for interacting with a Gitea repository", Action: doRepo, Subcommands: []*cli.Command{ &RepoCreate, }, }
View Source
var RepoCreate = cli.Command{
Name: "create",
Usage: "Create a new repository",
Action: doRepoCreate,
}
View Source
var Tokens = cli.Command{ Name: "tokens", Aliases: []string{"token"}, Usage: "Manage access tokens", Action: doTokenList, Subcommands: []*cli.Command{ &TokensAdd, &TokensRemove, }, }
View Source
var TokensAdd = cli.Command{ Name: "add", Aliases: []string{"create"}, Usage: "Add a new access token", Action: doTokenAdd, }
View Source
var TokensRemove = cli.Command{ Name: "remove", Aliases: []string{"delete"}, Usage: "Remove access tokens", Action: doTokenRemove, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.