Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶ added in v0.2.0
type CLI struct {
Owner string `short:"o" env:"GITHUB_ACTOR" help:"GitHub Owner/Org name [GITHUB_ACTOR]"`
Repo string `short:"r" env:"GITHUB_REPO" help:"GitHub Repo name [GITHUB_REPO]"`
Type string `short:"t" env:"GITHUB_EVENT_NAME" help:"The target event type to label (issues or pull_request) [GITHUB_EVENT_NAME]"`
Fields []string `default:"title,body" help:"Fields to evaluate for labeling (title, body)"`
ID int `help:"The integer id of the issue or pull request"`
Data string `help:"A JSON string of the 'event' type (issue event or pull request event)"`
ConfigPath string `name:"config-path" help:"A custom config path, relative to the repository root"`
Version kong.VersionFlag `short:"v" help:"Print version information"`
}
Click to show internal directories.
Click to hide internal directories.