write help text

This commit is contained in:
filifa 2025-04-05 18:07:51 -04:00
parent 9eae0d1a95
commit cff50cabf1
1 changed files with 3 additions and 6 deletions

View File

@ -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,