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

cmd

package
v0.2.90 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 34 Imported by: 3

Documentation

Index

Constants

View Source
const NoticeURL = "https://api.nektosact.com/notices"

Variables

View Source
var (
	UserHomeDir  string
	CacheHomeDir string
)

Functions

func Execute

func Execute(ctx context.Context, version string)

Execute is the entry point to running the CLI

Types

type Flag added in v0.2.73

type Flag struct {
	Name        string `json:"name"`
	Default     string `json:"default"`
	Type        string `json:"type"`
	Description string `json:"description"`
}

type Input added in v0.2.0

type Input struct {
	// contains filtered or unexported fields
}

Input contains the input for the root command

func (*Input) Envfile added in v0.2.6

func (i *Input) Envfile() string

Envfile returns path to .env

func (*Input) EventPath added in v0.2.0

func (i *Input) EventPath() string

EventPath returns the path to events file

func (*Input) Inputfile added in v0.2.36

func (i *Input) Inputfile() string

Inputfile returns the path to the input file

func (*Input) Secretfile added in v0.2.8

func (i *Input) Secretfile() string

Secretfile returns path to secrets

func (*Input) Varfile added in v0.2.47

func (i *Input) Varfile() string

func (*Input) Workdir added in v0.2.0

func (i *Input) Workdir() string

Workdir returns path to workdir

func (*Input) WorkflowsPath added in v0.2.0

func (i *Input) WorkflowsPath() string

WorkflowsPath returns path to workflow file(s)

type Notice added in v0.2.36

type Notice struct {
	Level   string `json:"level"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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