flag

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DoRunParallel     = "parallel"
	NoGenerate        = "no-generate"
	ReRun             = "re-run"
	DryRun            = "dry-run"
	Verbose           = "verbose"
	ConfigurationFile = "conf"
)

Constant flags used in CLI

Variables

This section is empty.

Functions

func AddConfFileFlag

func AddConfFileFlag(flags *pflag.FlagSet)

AddConfFileFlag flag

func AddDryRunFlag

func AddDryRunFlag(flags *pflag.FlagSet)

AddDryRunFlag flag

func AddNoGenFlag

func AddNoGenFlag(flags *pflag.FlagSet)

AddNoGenFlag flag

func AddReRunFlag

func AddReRunFlag(flags *pflag.FlagSet)

AddReRunFlag flag

func AddRunParFlag

func AddRunParFlag(flags *pflag.FlagSet)

AddRunParFlag flag

func AddVerboseFlag

func AddVerboseFlag(flags *pflag.FlagSet)

AddVerboseFlag flag

func Init

func Init(flags *pflag.FlagSet)

Init initializes all flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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