MCPcopy Create free account
hub / github.com/celer-pkg/celer / createPlatform

Method createPlatform

cmds/cmd_create.go:60–67  ·  view source on GitHub ↗
(platformName string)

Source from the content-addressed store, hash-verified

58}
59
60func (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
69func (c *createCmd) createProject(projectName string) error {
70 if err := c.celer.CreateProject(projectName); err != nil {

Callers 1

doCreateMethod · 0.95

Calls 3

PrintErrorFunction · 0.92
PrintSuccessFunction · 0.92
CreatePlatformMethod · 0.80

Tested by

no test coverage detected