configcommands/org_named_quota.go
func (c *OrgNamedQuotaConfigurationCommand) Execute(args []string) error {
	c.initConfig()
	orgQuota, err := c.ConfigManager.GetOrgQuota(c.Name)
	if err != nil {
		return err
	}
	if orgQuota == nil {
		orgQuota = &config.OrgQuota{
			Name:                    c.Name,
			TotalPrivateDomains:     "unlimited",
			TotalReservedRoutePorts: "unlimited",
			TotalServiceKeys:        "unlimited",
			AppInstanceLimit:        "unlimited",
			AppTaskLimit:            "unlimited",
			InstanceMemoryLimit:     "unlimited",
			TotalRoutes:             "unlimited",
			TotalServices:           "unlimited",
			PaidServicePlansAllowed: true,
		}
	}
	errorString := ""
	updateOrgNamedQuotaConfig(orgQuota, c.Quota, &errorString)

	if errorString != "" {
		return errors.New(errorString)
	}
	return c.ConfigManager.SaveOrgQuota(orgQuota)
}
func (c *OrgNamedQuotaConfigurationCommand) Execute(args []string) error {
	c.initConfig()
	orgQuota, err := c.ConfigManager.GetOrgQuota(c.Name)
	if err != nil {
		return err
	}
	if orgQuota == nil {
		orgQuota = &config.OrgQuota{
			Name:                    c.Name,
			TotalPrivateDomains:     "unlimited",
			TotalReservedRoutePorts: "unlimited",
			TotalServiceKeys:        "unlimited",
			AppInstanceLimit:        "unlimited",
			AppTaskLimit:            "unlimited",
			InstanceMemoryLimit:     "unlimited",
			TotalRoutes:             "unlimited",
			TotalServices:           "unlimited",
			PaidServicePlansAllowed: true,
		}
	}
	errorString := ""
	updateOrgNamedQuotaConfig(orgQuota, c.Quota, &errorString)

	if errorString != "" {
		return errors.New(errorString)
	}
	return c.ConfigManager.SaveOrgQuota(orgQuota)
}
//Execute - updates named quota