Documentation
¶
Index ¶
- type Handler
- func (me *Handler) Args() *args
- func (me *Handler) Command() *cobra.Command
- func (*Handler) Description() string
- func (*Handler) Emoji() string
- func (*Handler) Image() string
- func (*Handler) Name() string
- func (me *Handler) Run(ctx context.Context, read io.Reader, write io.Writer, en resolvers.SampleEnum, ...) (snake.Output, error)
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"`
// contains filtered or unexported fields
}
func (*Handler) Description ¶ added in v0.27.0
func (*Handler) Run ¶
func (me *Handler) Run( ctx context.Context, read io.Reader, write io.Writer, en resolvers.SampleEnum, br io.ByteReader, bw io.ByteWriter, bs io.ByteScanner, ) (snake.Output, error)
Click to show internal directories.
Click to hide internal directories.