MCPcopy Create free account
hub / github.com/davecheney/pub / CreateInstanceCmd

Struct CreateInstanceCmd

createinstance.go:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type CreateInstanceCmd struct {
9 Domain string `required:"" help:"domain name of the instance to create"`
10 Title string `required:"" help:"title of the instance to create"`
11 Description string `required:"" help:"description of the instance to create"`
12 AdminEmail string `required:"" help:"email address of the admin account to create"`
13}
14
15func (c *CreateInstanceCmd) Run(ctx *Context) error {
16 db, err := gorm.Open(ctx.Dialector, &ctx.Config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected