mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-13 15:34:59 -05:00
CHANGES: - Add shell completion support for three major shells - Create standardized completion scripts in completions/ directory - Add --shell-complete-list flag for machine-readable output - Update Print() methods to support plain output format - Document installation steps for each shell in README - Replace old fish completion script with improved version
14 lines
394 B
Go
14 lines
394 B
Go
package db
|
|
|
|
type Storage[T any] interface {
|
|
Configure() (err error)
|
|
Get(name string) (ret *T, err error)
|
|
GetNames() (ret []string, err error)
|
|
Delete(name string) (err error)
|
|
Exists(name string) (ret bool)
|
|
Rename(oldName, newName string) (err error)
|
|
Save(name string, content []byte) (err error)
|
|
Load(name string) (ret []byte, err error)
|
|
ListNames(shellCompleteList bool) (err error)
|
|
}
|