(platformName string)
| 58 | } |
| 59 | |
| 60 | func (c *createCmd) createPlatform(platformName string) error { |
| 61 | if err := c.celer.CreatePlatform(platformName); err != nil { |
| 62 | return color.PrintError(err, "%s could not be created.", platformName) |
| 63 | } |
| 64 | |
| 65 | color.PrintSuccess("%s is created, please proceed with its refinement.", platformName) |
| 66 | return nil |
| 67 | } |
| 68 | |
| 69 | func (c *createCmd) createProject(projectName string) error { |
| 70 | if err := c.celer.CreateProject(projectName); err != nil { |
no test coverage detected