seedflags

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 SeedFlags

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

func NewSeedFlags

func NewSeedFlags(opts ...Option) SeedFlags

Jump to

Keyboard shortcuts

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