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

27 lines
971 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "ibus",
Description: "Set or get engine",
Subcommands: []spec.Subcommand{
{Name: "engine", Description: "Set or get engine"},
{Name: "exit", Description: "Exit ibus-daemon"},
{Name: "list-engine", Description: "Show available engines"},
{Name: "watch", Description: "Not implemented"},
{Name: "version", Description: "Show version"},
{Name: "read-cache", Description: "Show the content of registry cache"},
{Name: "write-cache", Description: "Create registry cache"},
{Name: "address", Description: "Print the D-Bus address of ibus-daemon"},
{Name: "read-config", Description: "Show the configuration values"},
{Name: "reset-config", Description: "Reset the configuration values"},
{Name: "emoji", Description: "Save emoji on dialog to clipboard"},
{Name: "help", Description: "Show this information"},
},
})
}