Documentation
¶
Index ¶
- func Execute() error
- type ErrNoArgAtIndex
- type YmirCommand
- func (c *YmirCommand) GetAllArgs() []string
- func (c *YmirCommand) GetArg(i int, def string) string
- func (c *YmirCommand) GetConfig() *config.Ymir
- func (c *YmirCommand) GetLogger() zerolog.Logger
- func (c *YmirCommand) GetOutput() *output.Fmt
- func (c *YmirCommand) GetRequiredArg(i int) (string, error)
- type YmirCommandHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrNoArgAtIndex ¶
type ErrNoArgAtIndex struct {
// contains filtered or unexported fields
}
func (ErrNoArgAtIndex) Error ¶
func (e ErrNoArgAtIndex) Error() string
type YmirCommand ¶
type YmirCommand struct {
// contains filtered or unexported fields
}
func (*YmirCommand) GetAllArgs ¶
func (c *YmirCommand) GetAllArgs() []string
func (*YmirCommand) GetConfig ¶
func (c *YmirCommand) GetConfig() *config.Ymir
func (*YmirCommand) GetLogger ¶
func (c *YmirCommand) GetLogger() zerolog.Logger
func (*YmirCommand) GetOutput ¶
func (c *YmirCommand) GetOutput() *output.Fmt
func (*YmirCommand) GetRequiredArg ¶
func (c *YmirCommand) GetRequiredArg(i int) (string, error)
type YmirCommandHandlerFunc ¶
type YmirCommandHandlerFunc func(cmd YmirCommand) error
Click to show internal directories.
Click to hide internal directories.