unseedflags

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(options *Options)

type Options

type Options struct {
	Prefix      string
	NoShortHand bool
	Hidden      bool
}

type UnseedFlags

type UnseedFlags interface {
	AddFlags(cobraCommand *cobra.Command)
	GetOptions(cobraCommand *cobra.Command) (seed.UnseedOptions, error)
}

func NewUnseedFlags

func NewUnseedFlags(opts ...Option) UnseedFlags

Jump to

Keyboard shortcuts

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