Skip to content

Commit

Permalink
make the root command run show
Browse files Browse the repository at this point in the history
fixes #8
  • Loading branch information
NiclasvanEyk committed Jul 4, 2023
1 parent c22d279 commit d2dde85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ examples and usage of using your application. For example:
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.`,
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
RunE: showCmd.RunE,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down

0 comments on commit d2dde85

Please sign in to comment.