Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Invocation string `json:"i"` Description string `json:"d"` // contains filtered or unexported fields }
Command is a fundamental unit that is some string that can be run in a shell along with additional metadata.
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container encapsulates the various states loaded.
func (*Container) DeleteCommand ¶
DeleteCommand deletes the given command from the container.
func (*Container) Dump ¶
func (c *Container) Dump()
Dump stores the contents of every state to disk.
func (*Container) Load ¶
Load loads the speeddial state at the given path into the provided container, creating a new one if one does not exist.
func (*Container) NewCommand ¶
NewCommand creates a new command in the primary state with the given invocation string and description.
Click to show internal directories.
Click to hide internal directories.