Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var CmdIssues = cli.Command{ Name: "issues", Aliases: []string{"issue"}, Usage: "List, create and update issues", Description: "List, create and update issues", ArgsUsage: "[<issue index>]", Action: runIssues, Subcommands: []*cli.Command{ &issues.CmdIssuesList, &issues.CmdIssuesCreate, &issues.CmdIssuesReopen, &issues.CmdIssuesClose, }, Flags: flags.IssuePRFlags, }
CmdIssues represents to login a gitea server.
var CmdLabels = cli.Command{ Name: "labels", Aliases: []string{"label"}, Usage: "Manage issue labels", Description: `Manage issue labels`, Action: runLabels, Subcommands: []*cli.Command{ &labels.CmdLabelsList, &labels.CmdLabelCreate, &labels.CmdLabelUpdate, &labels.CmdLabelDelete, }, }
CmdLabels represents to operate repositories' labels.
var CmdLogin = cli.Command{ Name: "logins", Aliases: []string{"login"}, Usage: "Log in to a Gitea server", Description: `Log in to a Gitea server`, ArgsUsage: "[<login name>]", Action: runLogins, Subcommands: []*cli.Command{ &login.CmdLoginList, &login.CmdLoginAdd, &login.CmdLoginEdit, &login.CmdLoginDelete, &login.CmdLoginSetDefault, }, }
CmdLogin represents to login a gitea server.
var CmdLogout = cli.Command{ Name: "logout", Usage: "Log out from a Gitea server", Description: `Log out from a Gitea server`, ArgsUsage: "<login name>", Action: login.RunLoginDelete, }
CmdLogout represents to logout a gitea server.
var CmdMilestones = cli.Command{ Name: "milestones", Aliases: []string{"milestone", "ms"}, Usage: "List and create milestones", Description: `List and create milestones`, ArgsUsage: "[<milestone name>]", Action: runMilestones, Subcommands: []*cli.Command{ &milestones.CmdMilestonesList, &milestones.CmdMilestonesCreate, &milestones.CmdMilestonesClose, &milestones.CmdMilestonesDelete, &milestones.CmdMilestonesReopen, &milestones.CmdMilestonesIssues, }, Flags: flags.AllDefaultFlags, }
CmdMilestones represents to operate repositories milestones.
var CmdNotifications = cli.Command{ Name: "notifications", Aliases: []string{"notification", "notif"}, Usage: "Show notifications", Description: "Show notifications, by default based of the current repo and unread one", Action: runNotifications, Flags: append([]cli.Flag{ &cli.BoolFlag{ Name: "all", Aliases: []string{"a"}, Usage: "show all notifications of related gitea instance", }, &cli.BoolFlag{ Name: "read", Aliases: []string{"rd"}, Usage: "show read notifications instead unread", }, &cli.BoolFlag{ Name: "pinned", Aliases: []string{"pd"}, Usage: "show pinned notifications instead unread", }, &flags.PaginationPageFlag, &flags.PaginationLimitFlag, }, flags.AllDefaultFlags...), }
CmdNotifications is the main command to operate with notifications
var CmdOpen = cli.Command{ Name: "open", Usage: "Open something of the repository on web browser", Description: `Open something of the repository on web browser`, Action: runOpen, Flags: append([]cli.Flag{}, flags.LoginRepoFlags...), }
CmdOpen represents a sub command of issues to open issue on the web browser
var CmdOrgs = cli.Command{ Name: "organizations", Aliases: []string{"organization", "org"}, Usage: "List, create, delete organizations", Description: "Show organization details", ArgsUsage: "[<organization>]", Action: runOrganizations, Subcommands: []*cli.Command{ &organizations.CmdOrganizationList, &organizations.CmdOrganizationDelete, }, }
CmdOrgs represents handle organization
var CmdPulls = cli.Command{ Name: "pulls", Aliases: []string{"pull", "pr"}, Usage: "List, create, checkout and clean pull requests", Description: `List, create, checkout and clean pull requests`, ArgsUsage: "[<pull index>]", Action: runPulls, Flags: flags.IssuePRFlags, Subcommands: []*cli.Command{ &pulls.CmdPullsList, &pulls.CmdPullsCheckout, &pulls.CmdPullsClean, &pulls.CmdPullsCreate, }, }
CmdPulls is the main command to operate on PRs
var CmdReleases = cli.Command{ Name: "releases", Aliases: []string{"release"}, Usage: "Manage releases", Description: "Manage releases", Action: releases.RunReleasesList, Subcommands: []*cli.Command{ &releases.CmdReleaseList, &releases.CmdReleaseCreate, &releases.CmdReleaseDelete, &releases.CmdReleaseEdit, }, Flags: flags.AllDefaultFlags, }
CmdReleases represents to login a gitea server. ToDo: ReleaseDetails
var CmdRepos = cli.Command{ Name: "repos", Aliases: []string{"repo"}, Usage: "Show repository details", Description: "Show repository details", ArgsUsage: "[<repo owner>/<repo name>]", Action: runRepos, Subcommands: []*cli.Command{ &repos.CmdReposList, &repos.CmdReposSearch, &repos.CmdRepoCreate, }, Flags: repos.CmdReposListFlags, }
CmdRepos represents to login a gitea server.
var CmdTrackedTimes = cli.Command{ Name: "times", Aliases: []string{"time"}, Usage: "Operate on tracked times of a repository's issues & pulls", Description: `Operate on tracked times of a repository's issues & pulls. Depending on your permissions on the repository, only your own tracked times might be listed.`, ArgsUsage: "[username | #issue]", Action: runTrackedTimes, Subcommands: []*cli.Command{ ×.CmdTrackedTimesAdd, ×.CmdTrackedTimesDelete, ×.CmdTrackedTimesReset, ×.CmdTrackedTimesList, }, }
CmdTrackedTimes represents the command to operate repositories' times.
Functions ¶
This section is empty.
Types ¶
This section is empty.