Skip to content

Commit e97f853

Browse files
authored
Improve wording in the NetBird client app (#4316)
1 parent 70db875 commit e97f853

File tree

12 files changed

+24
-19
lines changed

12 files changed

+24
-19
lines changed

client/cmd/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var (
3333
var debugCmd = &cobra.Command{
3434
Use: "debug",
3535
Short: "Debugging commands",
36-
Long: "Provides commands for debugging and logging control within the NetBird daemon.",
36+
Long: "Commands for debugging and logging within the NetBird daemon.",
3737
}
3838

3939
var debugBundleCmd = &cobra.Command{

client/cmd/down.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import (
1414

1515
var downCmd = &cobra.Command{
1616
Use: "down",
17-
Short: "down netbird connections",
17+
Short: "Disconnect from the NetBird network",
18+
Long: "Disconnect the NetBird client from the network and management service. This will terminate all active connections with the remote peers.",
1819
RunE: func(cmd *cobra.Command, args []string) error {
1920
SetFlagsFromEnvVars(rootCmd)
2021

client/cmd/login.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ func init() {
3131

3232
var loginCmd = &cobra.Command{
3333
Use: "login",
34-
Short: "login to the NetBird Management Service (first run)",
34+
Short: "Log in to the NetBird network",
35+
Long: "Log in to the NetBird network using a setup key or SSO",
3536
RunE: func(cmd *cobra.Command, args []string) error {
3637
if err := setEnvAndFlags(cmd); err != nil {
3738
return fmt.Errorf("set env and flags: %v", err)

client/cmd/logout.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import (
1414
var logoutCmd = &cobra.Command{
1515
Use: "deregister",
1616
Aliases: []string{"logout"},
17-
Short: "deregister from the NetBird Management Service and delete peer",
17+
Short: "Deregister from the NetBird management service and delete this peer",
18+
Long: "This command will deregister the current peer from the NetBird management service and all associated configuration. Use with caution as this will remove the peer from the network.",
1819
RunE: func(cmd *cobra.Command, args []string) error {
1920
SetFlagsFromEnvVars(rootCmd)
2021

client/cmd/networks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var appendFlag bool
1515
var networksCMD = &cobra.Command{
1616
Use: "networks",
1717
Aliases: []string{"routes"},
18-
Short: "Manage networks",
18+
Short: "Manage connections to NetBird Networks and Resources",
1919
Long: `Commands to list, select, or deselect networks. Replaces the "routes" command.`,
2020
}
2121

client/cmd/profile.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,38 @@ import (
1616

1717
var profileCmd = &cobra.Command{
1818
Use: "profile",
19-
Short: "manage NetBird profiles",
20-
Long: `Manage NetBird profiles, allowing you to list, switch, and remove profiles.`,
19+
Short: "Manage NetBird client profiles",
20+
Long: `Commands to list, add, remove, and switch profiles. Profiles allow you to maintain different accounts in one client app.`,
2121
}
2222

2323
var profileListCmd = &cobra.Command{
2424
Use: "list",
25-
Short: "list all profiles",
25+
Short: "List all profiles",
2626
Long: `List all available profiles in the NetBird client.`,
2727
Aliases: []string{"ls"},
2828
RunE: listProfilesFunc,
2929
}
3030

3131
var profileAddCmd = &cobra.Command{
3232
Use: "add <profile_name>",
33-
Short: "add a new profile",
33+
Short: "Add a new profile",
3434
Long: `Add a new profile to the NetBird client. The profile name must be unique.`,
3535
Args: cobra.ExactArgs(1),
3636
RunE: addProfileFunc,
3737
}
3838

3939
var profileRemoveCmd = &cobra.Command{
4040
Use: "remove <profile_name>",
41-
Short: "remove a profile",
42-
Long: `Remove a profile from the NetBird client. The profile must not be active.`,
41+
Short: "Remove a profile",
42+
Long: `Remove a profile from the NetBird client. The profile must not be inactive.`,
4343
Args: cobra.ExactArgs(1),
4444
RunE: removeProfileFunc,
4545
}
4646

4747
var profileSelectCmd = &cobra.Command{
4848
Use: "select <profile_name>",
49-
Short: "select a profile",
50-
Long: `Select a profile to be the active profile in the NetBird client. The profile must exist.`,
49+
Short: "Select a profile",
50+
Long: `Make the specified profile active. This will switch the client to use the selected profile's configuration.`,
5151
Args: cobra.ExactArgs(1),
5252
RunE: selectProfileFunc,
5353
}

client/cmd/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
var serviceCmd = &cobra.Command{
2121
Use: "service",
22-
Short: "manages NetBird service",
22+
Short: "Manage the NetBird daemon service",
2323
}
2424

2525
var (

client/cmd/service_installer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func createServiceConfigForInstall() (*service.Config, error) {
107107

108108
var installCmd = &cobra.Command{
109109
Use: "install",
110-
Short: "installs NetBird service",
110+
Short: "Install NetBird service",
111111
RunE: func(cmd *cobra.Command, args []string) error {
112112
if err := setupServiceCommand(cmd); err != nil {
113113
return err

client/cmd/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var sshCmd = &cobra.Command{
4040

4141
return nil
4242
},
43-
Short: "connect to a remote SSH server",
43+
Short: "Connect to a remote SSH server",
4444
RunE: func(cmd *cobra.Command, args []string) error {
4545
SetFlagsFromEnvVars(rootCmd)
4646
SetFlagsFromEnvVars(cmd)

client/cmd/status.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ var (
3232

3333
var statusCmd = &cobra.Command{
3434
Use: "status",
35-
Short: "status of the Netbird Service",
35+
Short: "Display NetBird client status",
36+
Long: "Display the current status of the NetBird client, including connection status, peer information, and network details.",
3637
RunE: statusFunc,
3738
}
3839

0 commit comments

Comments
 (0)