From cff50cabf166892366d3322aa297d73ddb426dd3 Mon Sep 17 00:00:00 2001 From: filifa Date: Sat, 5 Apr 2025 18:07:51 -0400 Subject: [PATCH] write help text --- cmd/root.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index d2d3ae3..b8a0c56 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -189,13 +189,10 @@ func parse(cmd *cobra.Command, args []string) { // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ Use: "go-type-chains", - 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: + Short: "Output Graphviz encoding of dependencies between files in a Go package", + Long: `Output Graphviz encoding of dependencies between files in a Go package. -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.`, +The outputted digraph will create an edge from source file A to source file B if A uses a type or value that is declared in B.`, // Uncomment the following line if your bare application // has an action associated with it: Run: parse,