cmd

package
v6.4.2-0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v6.4.1

func Run(ctx context.Context, logger *slogutil.Logger, env *urfave.Env) error

Types

type ExecArgs added in v6.4.2

type ExecArgs struct {
	*GlobalFlags

	Org         string
	Repo        string
	Token       string
	SHA1        string
	Template    string
	TemplateKey string
	ConfigPath  string
	PRNumber    int
	Outputs     []string
	Vars        []string
	VarFiles    []string
	DryRun      bool
	SkipNoToken bool
	Silent      bool
	Args        []string
}

ExecArgs holds flags for the exec command.

type GlobalFlags added in v6.4.2

type GlobalFlags struct {
	LogLevel string
}

GlobalFlags holds flags shared across all commands.

type HideArgs added in v6.4.2

type HideArgs struct {
	*GlobalFlags

	Org         string
	Repo        string
	Token       string
	ConfigPath  string
	Condition   string
	HideKey     string
	PRNumber    int
	SHA1        string
	Vars        []string
	VarFiles    []string
	DryRun      bool
	SkipNoToken bool
	Silent      bool
}

HideArgs holds flags for the hide command.

type PostArgs added in v6.4.2

type PostArgs struct {
	*GlobalFlags

	Org             string
	Repo            string
	Token           string
	SHA1            string
	Template        string
	TemplateKey     string
	ConfigPath      string
	PRNumber        int
	Vars            []string
	VarFiles        []string
	DryRun          bool
	SkipNoToken     bool
	Silent          bool
	StdinTemplate   bool
	UpdateCondition string
}

PostArgs holds flags for the post command.

type Runner

type Runner struct {
	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
}

Jump to

Keyboard shortcuts

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