Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checks4shell ¶
type Checks4shell struct {
Run run.Run `cmd:"" help:"Runs the given command, updates the given Github Check Run"`
Version VersionCommand `cmd:"" help:"Shows the version of the command"`
GithubAppPrivateKey []byte `` /* 135-byte string literal not displayed */
GithubAppID int64 `env:"CHECKS4SHELL_GITHUB_APP_ID" help:"Github App ID"`
GithubAppInstallationId int64 `env:"CHECKS4SHELL_GITHUB_APP_INSTALLATION_ID" help:"Github App Installation ID"`
}
Checks4shell is the parent command structure holding the GitHub App credentials and responsible for setting up a GitHub client for child command to use
func (*Checks4shell) AfterApply ¶
func (c *Checks4shell) AfterApply(ctx *kong.Context) error
type VersionCommand ¶
type VersionCommand struct {
}
VersionCommand is the struct for VersionCommand
func (*VersionCommand) Run ¶
func (*VersionCommand) Run() error
Run prints the version for the command
Click to show internal directories.
Click to hide internal directories.