Files
iris-context/commands/sys/hyper.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

24 lines
751 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "hyper",
Description: "Hyper is an Electron-based terminal",
Subcommands: []spec.Subcommand{
{Name: "install", Description: "Install a plugin"},
{Name: "docs", Description: "Open the npm page of a plugin"},
{Name: "help", Description: "Display help"},
{Name: "list", Description: "List installed plugins"},
{Name: "list-remote", Description: "List plugins available on npm"},
{Name: "search", Description: "Search for plugins on npm"},
{Name: "uninstall", Description: "Uninstall plugin"},
{Name: "plugin", Description: "Plugin to uninstall"},
{Name: "version", Description: "Show version"},
},
})
}