Skip to content

Commit

Permalink
some work
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakiyo committed Aug 22, 2023
1 parent 68d02b3 commit f8d9270
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ var rootCmd = &cobra.Command{
View community driven and simplified man pages in your terminal`,
Version: "0.1.0",
PreRunE: func(cmd *cobra.Command, args []string) error {
// logLvl := utils.Must(cmd.Flags().GetString("log-level"))

return nil
},
Run: func(cmd *cobra.Command, args []string) {
if len(os.Args[1:]) < 1 {
cmd.Help()
Expand Down

0 comments on commit f8d9270

Please # to comment.