Documentation
¶
Index ¶
- Variables
- func New() (*Command, *Command)
- type Command
- func (c *Command) Apropos() lang.Alt
- func (c *Command) Block(g *goes.Goes, ls shellutils.List) (*shellutils.List, ...)
- func (c *Command) FindEntry(args ...int) (e *Entry, err error)
- func (c *Command) FindMenu(args ...int) (m *Menu, err error)
- func (Command) Main(args ...string) error
- func (c *Command) Man() lang.Alt
- func (c *Command) Reset()
- func (c *Command) String() string
- func (c *Command) Usage() string
- type Entry
- type Menu
- type Root
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMenuMissingName = errors.New("Missing menu name")
View Source
var ErrMenuMissingOpenBrace = errors.New("Missing {")
View Source
var ErrMenuNoNesting = errors.New("Nesting not allowed")
View Source
var ErrMenuNotFound = errors.New("Menu not found")
View Source
var ErrMenuOutOfRange = errors.New("Menu item out of range")
View Source
var ErrMenuUnexpectedEOL = errors.New("Unexpected end of line")
View Source
var ErrMenuUnexpectedText = errors.New("Unexpected text after }")
View Source
var InternalError = errors.New("internal error")
Functions ¶
Types ¶
type Entry ¶
Click to show internal directories.
Click to hide internal directories.