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

options

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliveryOptions

type DeliveryOptions struct {
	Delay string
}

DeliveryOptions

func (*DeliveryOptions) AddFlags added in v0.3.0

func (o *DeliveryOptions) AddFlags(cmd *cobra.Command)

type DiffOptions added in v0.4.0

type DiffOptions struct {
	FindBy []string

	FullDiff        bool
	IgnoreAdditions bool
}

DiffOptions

func (*DiffOptions) AddFlags added in v0.4.0

func (o *DiffOptions) AddFlags(cmd *cobra.Command)

type EventOptions

type EventOptions struct {
	Event      event.Event
	Extensions []string // in the form key=value
	Now        bool
}

EventOptions

func (*EventOptions) AddFlags added in v0.3.0

func (o *EventOptions) AddFlags(cmd *cobra.Command)

type FilenameOptions

type FilenameOptions struct {
	Filenames []string
	Recursive bool
}

FilenameOptions

func (*FilenameOptions) AddFlags added in v0.3.0

func (o *FilenameOptions) AddFlags(cmd *cobra.Command)

type HistoryOptions added in v0.3.0

type HistoryOptions struct {
	Length int
	Retain bool
}

HistoryOptions

func (*HistoryOptions) AddFlags added in v0.3.0

func (o *HistoryOptions) AddFlags(cmd *cobra.Command)

type HostOptions

type HostOptions struct {
	URL *url.URL
}

HostOptions

type PathOptions

type PathOptions struct {
	Path string
}

PathOptions

func (*PathOptions) AddFlags added in v0.3.0

func (o *PathOptions) AddFlags(cmd *cobra.Command)

type PortOptions

type PortOptions struct {
	Port int
}

PortOptions

func (*PortOptions) AddFlags added in v0.3.0

func (o *PortOptions) AddFlags(cmd *cobra.Command)

type TeeOptions

type TeeOptions struct {
	URLString string
	URL       *url.URL
}

TeeOptions

func (*TeeOptions) AddFlags added in v0.3.0

func (o *TeeOptions) AddFlags(cmd *cobra.Command)

type VerboseOptions

type VerboseOptions struct {
	Verbose bool
}

VerboseOptions

func (*VerboseOptions) AddFlags added in v0.3.0

func (o *VerboseOptions) AddFlags(cmd *cobra.Command)

type YAMLOptions

type YAMLOptions struct {
	YAML bool
}

YAMLOptions

func (*YAMLOptions) AddFlags added in v0.3.0

func (o *YAMLOptions) AddFlags(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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