Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "hard-reset", Usage: "Hard reset", Action: func(ctx *cli.Context) error { conf := ctx.Context.Value("config").(*config.Config) db := ctx.Context.Value("db").(*sql.DB) if err := db.Close(); err != nil { return err } if err := hardReset(conf); err != nil { return err } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.