cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const IdpMetadataFile = "plasmid-metadata.xml"
View Source
const StartupDelay = 2 * time.Second

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Flag

type Flag struct {
	Command     *cobra.Command
	Persistent  bool
	Name        string
	ShortHand   string
	Usage       string
	AltDefault  interface{}
	ConfigField string
	Required    bool
}

func (*Flag) BindInt

func (f *Flag) BindInt()

func (*Flag) BindString

func (f *Flag) BindString()

func (*Flag) BindStringArray

func (f *Flag) BindStringArray()

func (*Flag) Default

func (f *Flag) Default() interface{}

func (*Flag) Flags

func (f *Flag) Flags() *pflag.FlagSet

Jump to

Keyboard shortcuts

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