aboutsummaryrefslogtreecommitdiff
path: root/rui.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-16 02:39:57 -0700
committerFuwn <[email protected]>2024-09-16 02:44:33 -0700
commitff17db2307df76628c121611f3ab114a150069af (patch)
tree13cab2150df36456336f3c9e28d98aea480507a1 /rui.go
parent1df6715b2eb4d8c2bd547fe2fb108fbb499570c0 (diff)
downloadrui-ff17db2307df76628c121611f3ab114a150069af.tar.xz
rui-ff17db2307df76628c121611f3ab114a150069af.zip
feat(rui): qol aliases
Diffstat (limited to 'rui.go')
-rw-r--r--rui.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/rui.go b/rui.go
index ffe4ffc..edf4c18 100644
--- a/rui.go
+++ b/rui.go
@@ -30,6 +30,22 @@ func main() {
Suggest: true,
Commands: []*cli.Command{
{
+ Name: "hs",
+ Action: func(c *cli.Context) error {
+ return c.App.Command("home").Command("switch").Run(c)
+ },
+ Hidden: true,
+ Description: "Alias for `home switch`",
+ },
+ {
+ Name: "osw",
+ Action: func(c *cli.Context) error {
+ return c.App.Command("os").Command("switch").Run(c)
+ },
+ Hidden: true,
+ Usage: "Alias for `os switch`",
+ },
+ {
Name: "home",
Subcommands: []*cli.Command{
{