flags

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(fs *pflag.FlagSet, key, name, usage string)

func BoolP

func BoolP(fs *pflag.FlagSet, key, name, shorthand, usage string)

func Duration

func Duration(fs *pflag.FlagSet, key, name, usage string)

func Int

func Int(fs *pflag.FlagSet, key, name, usage string)

func IntP

func IntP(fs *pflag.FlagSet, key, name, shorthand, usage string)

func String

func String(fs *pflag.FlagSet, key, name, usage string)

func StringP

func StringP(fs *pflag.FlagSet, key, name, shorthand, usage string)

func StringSlice

func StringSlice(fs *pflag.FlagSet, key, name, usage string)

func StringSliceP

func StringSliceP(fs *pflag.FlagSet, key, name, shorthand, usage string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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