aboutsummaryrefslogtreecommitdiff
path: root/cmd/cmd.go
diff options
context:
space:
mode:
authorCarlos Sosa <gnusosa@gnusosa.net>2020-06-22 12:03:41 -0700
committerCarlos Sosa <gnusosa@gnusosa.net>2020-06-22 12:03:41 -0700
commitc1d28a718a536c1127c1a772b8598436d9eab105 (patch)
tree6a06fbbdf7e0aa2c717e980ff08423831e3c6ed3 /cmd/cmd.go
parent0b609156b184d00ab1a6e742b9b998be4457345e (diff)
Working version of the command
Diffstat (limited to 'cmd/cmd.go')
-rw-r--r--cmd/cmd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/cmd.go b/cmd/cmd.go
index ea69e29..cbfb65b 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -24,11 +24,11 @@ var (
}
serverCmd = &cobra.Command{
- Use: "server",
+ Use: "serve",
Short: "Run stream server",
Long: `Run the stream server.`,
Run: func(cmd *cobra.Command, args []string) {
- server.runServers()
+ server.RunServers()
},
}
@@ -58,7 +58,7 @@ func init() {
//rootCmd.AddCommand(addCmd)
rootCmd.AddCommand(versionCmd)
- //rootCmd.AddCommand(serverCmd)
+ rootCmd.AddCommand(serverCmd)
}
func er(msg interface{}) {