write help text
This commit is contained in:
parent
9eae0d1a95
commit
cff50cabf1
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue