mapper

package
v0.1.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 8 Imported by: 0

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{})

Jump to

Keyboard shortcuts

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