commands/create_spaces.go
func (c *CreateSpacesCommand) Execute([]string) error {
	var cfMgmt *CFMgmt
	var err error
	if cfMgmt, err = InitializePeekManagers(c.BaseCFConfigCommand, c.Peek); err == nil {
		err = cfMgmt.SpaceManager.CreateSpaces()
	}
	return err
}
func (c *CreateSpacesCommand) Execute([]string) error {
	var cfMgmt *CFMgmt
	var err error
	if cfMgmt, err = InitializePeekManagers(c.BaseCFConfigCommand, c.Peek); err == nil {
		err = cfMgmt.SpaceManager.CreateSpaces()
	}
	return err
}
func ( c * CreateSpacesCommand ) Execute ( [ ] string ) error { var cfMgmt * CFMgmt var err error if cfMgmt , err = InitializePeekManagers ( c . BaseCFConfigCommand , c . Peek ) ; err == nil { err = cfMgmt . SpaceManager . CreateSpaces ( ) } return err }
//Execute - creates spaces
Execute - creates spaces