option

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 1 Imported by: 1 module, 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 ValidateExec

func ValidateExec(opts *ExecOptions) error

func ValidateHide

func ValidateHide(opts *HideOptions) error

func ValidatePost

func ValidatePost(opts *PostOptions) error

Types

type ExecOptions

type ExecOptions struct {
	Options
	Args        []string
	SkipComment bool
	Outputs     []*Output
}

type HideOptions

type HideOptions struct {
	Options
	HideKey       string
	Condition     string
	StdinTemplate bool
}

type Options

type Options struct {
	PRNumber           int
	Org                string
	Repo               string
	Token              string
	SHA1               string
	Template           string
	TemplateForTooLong string
	TemplateKey        string
	ConfigPath         string
	LogLevel           string
	Vars               map[string]string
	EmbeddedVarNames   []string
	DryRun             bool
	SkipNoToken        bool
	Silent             bool
}

type Output added in v6.3.0

type Output struct {
	File   string
	GitHub bool
}

type PostOptions

type PostOptions struct {
	Options
	StdinTemplate   bool
	UpdateCondition string
}

Jump to

Keyboard shortcuts

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