// RequiredEnv ensures an environment variable is set. If it is not set, it will exit with status code 1
RequiredEnv ensures an environment variable is set. If it is not set, it will exit with status code 1
// RequiredEnv ensures an environment variable is set . If it is not set it will exit with status code 1
func RequiredConfigKey(key string) {
	if s := viper.GetString(key); s == "" {
		PrettyExit(1, "Required environment variable %s not set", key)
	}
}
func RequiredConfigKey ( key string ) { if s := viper . GetString ( key ) ; s == " " { PrettyExit ( 1 , " " , key ) } }
RequiredEnv ensures an environment variable is set.
RequiredEnv ensures an environment variable is set .