Skip to content

Commit cc7eaf9

Browse files
committed
chore: update relaywiz command to rwz
1 parent ea22b78 commit cc7eaf9

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The program will automate the following steps:
3535
To install a relay, spin up a new Debian server, hook up a domain name, and run the following command:
3636

3737
```bash
38-
curl -sL https://relayrunner.org/relaywizard.sh | bash
38+
curl -sL https://relaywizard.com/install.sh | bash
3939
```
4040

4141
## Learn more

cmd/install.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package cmd
22

33
import (
4-
"github.com/nodetec/relaywiz/pkg/manager"
5-
"github.com/nodetec/relaywiz/pkg/network"
6-
"github.com/nodetec/relaywiz/pkg/relays/khatru29"
7-
"github.com/nodetec/relaywiz/pkg/relays/khatru_pyramid"
8-
"github.com/nodetec/relaywiz/pkg/relays/strfry"
9-
"github.com/nodetec/relaywiz/pkg/ui"
4+
"github.com/nodetec/rwz/pkg/manager"
5+
"github.com/nodetec/rwz/pkg/network"
6+
"github.com/nodetec/rwz/pkg/relays/khatru29"
7+
"github.com/nodetec/rwz/pkg/relays/khatru_pyramid"
8+
"github.com/nodetec/rwz/pkg/relays/strfry"
9+
"github.com/nodetec/rwz/pkg/ui"
1010
"github.com/pterm/pterm"
1111
"github.com/spf13/cobra"
1212
)
@@ -137,7 +137,7 @@ var installCmd = &cobra.Command{
137137
pterm.Println(pterm.Magenta("We plan to use relay groups for support in the future..."))
138138

139139
pterm.Println()
140-
pterm.Println(pterm.Magenta("You can re-run this installer with `relaywiz install`."))
140+
pterm.Println(pterm.Magenta("You can re-run this installer with `rwz install`."))
141141
},
142142
}
143143

cmd/root.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
)
77

88
var rootCmd = &cobra.Command{
9-
Use: "relaywiz",
9+
Use: "rwz",
1010
Short: "A wizard for relay runners",
11-
Long: `relaywiz is a CLI tool for relays operators that
11+
Long: `rwz is a CLI tool for relays operators that
1212
helps install and configure your relay.`,
1313
}
1414

@@ -30,5 +30,5 @@ func init() {
3030

3131
// Cobra also supports local flags, which will only run
3232
// when this action is called directly.
33-
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
33+
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
3434
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/nodetec/relaywiz
1+
module github.com/nodetec/rwz
22

33
go 1.22.4
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/nodetec/relaywiz/cmd"
4+
"github.com/nodetec/rwz/cmd"
55
)
66

77
func main() {

pkg/network/certbot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package network
22

33
import (
44
"fmt"
5-
"github.com/nodetec/relaywiz/pkg/utils"
5+
"github.com/nodetec/rwz/pkg/utils"
66
"github.com/pterm/pterm"
77
"log"
88
"os"

pkg/relays/strfry/apt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package strfry
22

33
import (
44
"fmt"
5-
"github.com/nodetec/relaywiz/pkg/manager"
5+
"github.com/nodetec/rwz/pkg/manager"
66
"github.com/pterm/pterm"
77
"os/exec"
88
)

pkg/ui/greeter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import (
66

77
func Greet() {
88
pterm.DefaultCenter.WithCenterEachLineSeparately().Println(
9-
pterm.Magenta("\nWelcome to Relay Wizard 🪄") + pterm.Gray("\nInstall and manage your relays with ease!") + pterm.Gray("\nv0.1.0"))
9+
pterm.Magenta("\nWelcome to Relay Wizard 🧙") + pterm.Gray("\nInstall and manage your relays with ease!") + pterm.Gray("\nv0.2.0"))
1010
}

0 commit comments

Comments
 (0)