diff --git a/chat-tests/cmd/root.go b/chat-tests/cmd/root.go index 3a79900..61a6891 100644 --- a/chat-tests/cmd/root.go +++ b/chat-tests/cmd/root.go @@ -5,21 +5,16 @@ Copyright © 2024 Raul package cmd import ( - "os" - "github.com/spf13/cobra" + "os" ) // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Use: "chat-tests", - Short: "A brief description of your application", - Long: `A longer description that spans multiple lines and likely contains -examples and usage of using your application. For example: + Use: "tiny-chat", + Short: "Application for hosting and joining a simple chat server", -Cobra is a CLI library for Go that empowers applications. -This application is a tool to generate the needed files -to quickly create a Cobra application.`, + Long: `Application for hosting and joining a simple chat server`, // Uncomment the following line if your bare application // has an action associated with it: // Run: func(cmd *cobra.Command, args []string) { }, diff --git a/chat-tests/go.mod b/chat-tests/go.mod index 610e15f..a43fb28 100644 --- a/chat-tests/go.mod +++ b/chat-tests/go.mod @@ -2,8 +2,9 @@ module chat-tests go 1.22.2 +require github.com/spf13/cobra v1.8.0 + require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect )