Skip to content

Commit

Permalink
fix: revert the revert because yolo (#55)
Browse files Browse the repository at this point in the history
Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth authored Jan 20, 2025
1 parent d6c6598 commit d7d00d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ func SetBase(cmd *cobra.Command) {
viper.BindPFlag("write", cmd.PersistentFlags().Lookup("write"))

cmd.PersistentFlags().BoolP("help", "h", false, "Give me a heading! Help for the specified command")
}

func ReadConfig() {
viper.SetConfigFile(viper.GetString("config"))
viper.AutomaticEnv()

Expand Down

0 comments on commit d7d00d0

Please sign in to comment.