Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdIssuesClose = cli.Command{ Name: "close", Usage: "Change state of an issue to 'closed'", Description: `Change state of an issue to 'closed'`, ArgsUsage: "<issue index>", Action: func(ctx *cli.Context) error { var s = gitea.StateClosed return editIssueState(ctx, gitea.EditIssueOption{State: &s}) }, Flags: flags.AllDefaultFlags, }
CmdIssuesClose represents a sub command of issues to close an issue
View Source
var CmdIssuesCreate = cli.Command{ Name: "create", Aliases: []string{"c"}, Usage: "Create an issue on repository", Description: `Create an issue on repository`, Action: runIssuesCreate, Flags: flags.IssuePREditFlags, }
CmdIssuesCreate represents a sub command of issues to create issue
View Source
var CmdIssuesList = cli.Command{ Name: "list", Aliases: []string{"ls"}, Usage: "List issues of the repository", Description: `List issues of the repository`, Action: RunIssuesList, Flags: append([]cli.Flag{ flags.FieldsFlag(print.IssueFields, []string{ "index", "title", "state", "author", "milestone", "labels", }), }, flags.IssuePRFlags...), }
CmdIssuesList represents a sub command of issues to list issues
View Source
var CmdIssuesReopen = cli.Command{ Name: "reopen", Aliases: []string{"open"}, Usage: "Change state of an issue to 'open'", Description: `Change state of an issue to 'open'`, ArgsUsage: "<issue index>", Action: func(ctx *cli.Context) error { var s = gitea.StateOpen return editIssueState(ctx, gitea.EditIssueOption{State: &s}) }, Flags: flags.AllDefaultFlags, }
CmdIssuesReopen represents a sub command of issues to open an issue
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.