Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RHCLOUD-34576 Moving config reading to PreRun function
- Was initially checking spf13/viper#233 but none of the suggestions there seemed to work. In our case it looked like viper or cobra wasn't loading the value at all. - Moved some code to the PreRun and that seems to work. Some users suggest that the code shouldn't be in the init and use the PreRun instead.
- Loading branch information