Files
iris-context/commands/sys/fisher.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

25 lines
738 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "fisher",
Description: "[Prompt] - 🌊 The ultimate Fish prompt",
Subcommands: []spec.Subcommand{
{Name: "install", Description: "Install plugin"},
{Name: "remove", Description: "Remove plugins"},
{Name: "installed plugins", Description: "The plugin you want to remove"},
{Name: "update", Description: "Update plugins"},
{Name: "list", Description: "List plugins"},
{Name: "RegEx", Description: "Search in list with regular expression"},
},
Options: []spec.Option{
{Name: "--help", Description: "Show help for fisher"},
{Name: "--version", Description: "Show fisher version"},
},
})
}