Documentation ¶
Index ¶
- func ChangeDirectory(aerc *widgets.Aerc, args []string) error
- func CommandNewAccount(aerc *widgets.Aerc, args []string) error
- func CommandQuit(aerc *widgets.Aerc, args []string) error
- func Help(aerc *widgets.Aerc, args []string) error
- func NextPrevTab(aerc *widgets.Aerc, args []string) error
- func PrintWorkDirectory(aerc *widgets.Aerc, args []string) error
- func QuickTerm(aerc *widgets.Aerc, args []string, stdin io.Reader) (*widgets.Terminal, error)
- func Term(aerc *widgets.Aerc, args []string) error
- type AercCommand
- type CommandSource
- type Commands
- type ErrorExit
- type NoSuchCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandSource ¶
type CommandSource interface {
Commands() *Commands
}
type Commands ¶
type Commands map[string]AercCommand
var (
GlobalCommands *Commands
)
func NewCommands ¶
func NewCommands() *Commands
func (*Commands) ExecuteCommand ¶
func (*Commands) Register ¶
func (cmds *Commands) Register(name string, cmd AercCommand)
type NoSuchCommand ¶
type NoSuchCommand string
func (NoSuchCommand) Error ¶
func (err NoSuchCommand) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.