Documentation
¶
Overview ¶
Package commonw contains miscellaneous common output writer functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerboseOpt ¶
type VerboseOpt struct {
Key string `json:"key"`
Usage string `json:"usage"`
Type string `json:"type"`
IsSet bool `json:"is_set"`
DefaultValue any `json:"default_value"`
Value any `json:"value"`
// FIXME: Append Flag?
Help string `json:"help"`
}
VerboseOpt is a verbose realization of an options.Opt value. This is used primarily to print metadata about the opt.
func NewVerboseOpt ¶
func NewVerboseOpt(opt options.Opt, o options.Options) VerboseOpt
NewVerboseOpt returns a VerboseOpt built from opt and o.
Click to show internal directories.
Click to hide internal directories.