commands/add_space.go
func (c *AddSpaceToConfigurationCommand) Execute([]string) error {
	lo.G.Warning("This command has been deprecated use lastest cf-mgmt-config cli")
	spaceConfig := &config.SpaceConfig{
		Org:            c.OrgName,
		Space:          c.SpaceName,
		DeveloperGroup: c.SpaceDeveloperGroup,
		ManagerGroup:   c.SpaceMgrGroup,
		AuditorGroup:   c.SpaceAuditorGroup,
		RemoveUsers:    true,
	}

	return config.NewManager(c.ConfigDirectory).AddSpaceToConfig(spaceConfig)
}
func (c *AddSpaceToConfigurationCommand) Execute([]string) error {
	lo.G.Warning("This command has been deprecated use lastest cf-mgmt-config cli")
	spaceConfig := &config.SpaceConfig{
		Org:            c.OrgName,
		Space:          c.SpaceName,
		DeveloperGroup: c.SpaceDeveloperGroup,
		ManagerGroup:   c.SpaceMgrGroup,
		AuditorGroup:   c.SpaceAuditorGroup,
		RemoveUsers:    true,
	}

	return config.NewManager(c.ConfigDirectory).AddSpaceToConfig(spaceConfig)
}
func ( c * AddSpaceToConfigurationCommand ) Execute ( [ ] string ) error { lo . G . Warning ( " " ) spaceConfig := & config . SpaceConfig { Org : c . OrgName , Space : c . SpaceName , DeveloperGroup : c . SpaceDeveloperGroup , ManagerGroup : c . SpaceMgrGroup , AuditorGroup : c . SpaceAuditorGroup , RemoveUsers : true , } return config . NewManager ( c . ConfigDirectory ) . AddSpaceToConfig ( spaceConfig ) }
//Execute - adds a named space to the configuration
Execute - adds a named space to the configuration