pflagext

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package pflagext is the extension of pflag which is part of the cobra framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntVarF

func IntVarF(
	fset *pflag.FlagSet, f func(int) error,
	name string, usage string,
)

func IntVarFP

func IntVarFP(
	fset *pflag.FlagSet, f func(int) error,
	name, shorthand string, usage string,
)

func StringVarF

func StringVarF(
	fset *pflag.FlagSet, f func(string) error,
	name, usage string,
)

func StringVarFP

func StringVarFP(
	fset *pflag.FlagSet, f func(string) error,
	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