From c1d28a718a536c1127c1a772b8598436d9eab105 Mon Sep 17 00:00:00 2001 From: Carlos Sosa Date: Mon, 22 Jun 2020 12:03:41 -0700 Subject: Working version of the command --- cmd/cmd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/cmd.go') 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{}) { -- cgit v1.3-2-g0d8e