| 6 | ) |
| 7 | |
| 8 | type 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 | |
| 15 | func (c *CreateInstanceCmd) Run(ctx *Context) error { |
| 16 | db, err := gorm.Open(ctx.Dialector, &ctx.Config) |
nothing calls this directly
no outgoing calls
no test coverage detected