Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameFlagSet ¶
type NameFlagSet struct {
// contains filtered or unexported fields
}
it is not thread-safe.
func NewNameFlagSet ¶
func NewNameFlagSet() *NameFlagSet
func (*NameFlagSet) AddFlagSet ¶
func (nfs *NameFlagSet) AddFlagSet(name string, fs *pflag.FlagSet) error
func (*NameFlagSet) AddNameFlagSetToCmd ¶
func (nfs *NameFlagSet) AddNameFlagSetToCmd(cmd *cobra.Command)
func (*NameFlagSet) SetUsageAndHelpFunc ¶
func (nfs *NameFlagSet) SetUsageAndHelpFunc(cmd *cobra.Command) error
Click to show internal directories.
Click to hide internal directories.