option

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 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
}

type HideOptions

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

type Options

type Options struct {
	MRNumber           int
	IssueNumber        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 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