Documentation
¶
Index ¶
- type Handler
- func (me *Handler) Args() *args
- func (me *Handler) Command() *cobra.Command
- func (*Handler) Description() string
- func (*Handler) Name() string
- func (me *Handler) Run(ctx context.Context, read io.Reader, write io.Writer, en resolvers.SampleEnum, ...) (snake.Output, error)
- func (me *Handler) Runner() snake.TypedRunner[*Handler]
- func (me *Handler) TypedRef() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Value string `default:"default"`
Cool bool `default:"false"`
CoolArray []string `default:"a,b,c"`
CoolIntArr []int `default:"1,2,3"`
// contains filtered or unexported fields
}
func (*Handler) Description ¶ added in v0.27.0
Click to show internal directories.
Click to hide internal directories.