template

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Usage

func Usage(flagSets ...*pflag.FlagSet) string

Usage returns a usage template string with the given sets of flags. Each flag set is separated in a new flags section with the flagset name as section title. When used with cobra commands, the resulting template may be passed as a parameter to command.SetUsageTemplate().

Types

This section is empty.

Jump to

Keyboard shortcuts

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