diff options
| author | Fuwn <[email protected]> | 2024-09-16 09:39:57 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-16 09:44:33 +0000 |
| commit | fab60da8ac0fab9e9e17ba5e01ba8b917ada6417 (patch) | |
| tree | 13cab2150df36456336f3c9e28d98aea480507a1 /rui.go | |
| parent | docs(readme): clearer installation instructions (diff) | |
| download | rui-fab60da8ac0fab9e9e17ba5e01ba8b917ada6417.tar.xz rui-fab60da8ac0fab9e9e17ba5e01ba8b917ada6417.zip | |
feat(rui): qol aliases
Diffstat (limited to 'rui.go')
| -rw-r--r-- | rui.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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{ { |