package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jan 30, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Command struct {
Text string `json:"text"`
CreatedAt time.Time `json:"created_at"`
}
Command represents a saved command with metadata
Storage handles saving and loading commands
New creates a new Storage instance
Add appends a new command to storage
List returns all command texts
Load reads all commands from storage
Remove deletes a command from storage
Save writes all commands to storage
Source Files
¶
Click to show internal directories.
Click to hide internal directories.