func CheckAPIKeyFlag(apiKey string, userProfile string) (string, error) {
	if apiKey == content.None {
		teamIDKey := fmt.Sprintf("%s.%s", userProfile, content.AccessKey)
		apiKey = GetValueFromConfig(teamIDKey, false)

		if apiKey == content.None {
			return apiKey, fmt.Errorf(content.ErrorAPIKeyMissing)
		}
	}

	return apiKey, nil
}
// CheckAPIKeyFlag flag check for api key
CheckAPIKeyFlag flag check for api key
// CheckAPIKeyFlag flag check for api key
func CheckAPIKeyFlag(apiKey string, userProfile string) (string, error) {
	if apiKey == content.None {
		teamIDKey := fmt.Sprintf("%s.%s", userProfile, content.AccessKey)
		apiKey = GetValueFromConfig(teamIDKey, false)
		if apiKey == content.None {
			return apiKey, fmt.Errorf(content.ErrorAPIKeyMissing)
		}
	}
	return apiKey, nil
}
func CheckAPIKeyFlag ( apiKey string , userProfile string ) ( string , error ) { if apiKey == content . None { teamIDKey := fmt . Sprintf ( " " , userProfile , content . AccessKey ) apiKey = GetValueFromConfig ( teamIDKey , false ) if apiKey == content . None { return apiKey , fmt . Errorf ( content . ErrorAPIKeyMissing ) } } return apiKey , nil }
CheckAPIKeyFlag flag check for api key
CheckAPIKeyFlag flag check for api key