option

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 1 Imported by: 0

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
	HideOldComment     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