Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL