Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFile string
ConfigFile is the configuration file used for running a command
View Source
var RootCmd = &cobra.Command{
Use: "khan",
Short: "khan handles clans",
Long: `Use khan to handle clans for your game.`,
}
RootCmd is the root command for khan CLI application
View Source
var Verbose int
Verbose determines how verbose khan will run under
Functions ¶
func PruneStaleData ¶ added in v0.12.0
func PruneStaleData(debug, quiet bool) (*models.PruneStats, error)
PruneStaleData prunes old data from the DB
Types ¶
type MigrationError ¶
type MigrationError struct {
Message string
}
MigrationError identified rigrations running error
func (*MigrationError) Error ¶
func (err *MigrationError) Error() string
Click to show internal directories.
Click to hide internal directories.