ymir

package
v0.0.0-...-2175bb8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

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) GetArg

func (c *YmirCommand) GetArg(i int, def string) 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

Jump to

Keyboard shortcuts

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