Merge pull request #43 from juanfont/use-plurals-for-cmds

Change all commands to plural words
This commit is contained in:
Juan Font 2021-06-29 23:38:03 +02:00 committed by GitHub
commit 95fee5aa6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@ import (
)
var NamespaceCmd = &cobra.Command{
Use: "namespace",
Use: "namespaces",
Short: "Manage the namespaces of Headscale",
}

View file

@ -9,6 +9,11 @@ import (
"github.com/spf13/cobra"
)
var NodeCmd = &cobra.Command{
Use: "nodes",
Short: "Manage the nodes of Headscale",
}
var RegisterCmd = &cobra.Command{
Use: "register machineID",
Short: "Registers a machine to your network",
@ -81,8 +86,3 @@ var ListNodesCmd = &cobra.Command{
},
}
var NodeCmd = &cobra.Command{
Use: "node",
Short: "Manage the nodes of Headscale",
}

View file

@ -11,7 +11,7 @@ import (
)
var PreauthkeysCmd = &cobra.Command{
Use: "preauthkey",
Use: "preauthkeys",
Short: "Handle the preauthkeys in Headscale",
}