Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg config.Config) *Controller
func (*Controller) DeleteHistory ¶ added in v0.3.0
func (c *Controller) DeleteHistory(entry HistoryEntry) error
func (*Controller) GenerateCommands ¶
func (c *Controller) GenerateCommands(prompt string) ([]string, error)
func (*Controller) LoadHistory ¶
func (c *Controller) LoadHistory() []HistoryEntry
func (*Controller) UpdateHistory ¶
func (c *Controller) UpdateHistory(prompt, command string) error
type HistoryEntry ¶
Click to show internal directories.
Click to hide internal directories.