Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagMapper ¶
type FlagMapper struct {
// contains filtered or unexported fields
}
func InitializedMapper ¶
func InitializedMapper(cmd *cobra.Command, flags interface{}, opts interface{}) FlagMapper
func New ¶
func New(cmd *cobra.Command) FlagMapper
func (FlagMapper) AutoMap ¶
func (m FlagMapper) AutoMap() (interface{}, interface{}, error)
func (FlagMapper) Map ¶
func (m FlagMapper) Map(flags interface{}, opts interface{}) error
func (FlagMapper) MappedFlags ¶
func (m FlagMapper) MappedFlags() interface{}
func (FlagMapper) MappedOpts ¶
func (m FlagMapper) MappedOpts() interface{}
func (FlagMapper) SetFlags ¶
func (m FlagMapper) SetFlags(flags interface{})
Click to show internal directories.
Click to hide internal directories.