aboutsummaryrefslogtreecommitdiff
path: root/rui.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-15 19:37:24 -0700
committerFuwn <[email protected]>2024-09-15 19:37:24 -0700
commitb41261d1878f486b99a69dd326a3f3f55510fb5e (patch)
tree411a4c91254baad1551f6d92290cc284c2bf1a12 /rui.go
parent6df696c963c072ac71a5bf97acc735256418c55c (diff)
downloadrui-b41261d1878f486b99a69dd326a3f3f55510fb5e.tar.xz
rui-b41261d1878f486b99a69dd326a3f3f55510fb5e.zip
feat: sw alias for switch
Diffstat (limited to 'rui.go')
-rw-r--r--rui.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/rui.go b/rui.go
index 236dc8b..ffe4ffc 100644
--- a/rui.go
+++ b/rui.go
@@ -33,7 +33,8 @@ func main() {
Name: "home",
Subcommands: []*cli.Command{
{
- Name: "switch",
+ Name: "switch",
+ Aliases: []string{"sw"},
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "impure",
@@ -83,7 +84,8 @@ func main() {
Name: "os",
Subcommands: []*cli.Command{
{
- Name: "switch",
+ Name: "switch",
+ Aliases: []string{"sw"},
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "force-nixos-rebuild",