Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDumpCmd = &cli.Command{
Action: dumpConfigAction,
Name: "config.dump",
Usage: "Dump default configuration to the './config.toml' file for editing",
Category: "CONFIG COMMANDS",
Description: `
The config.dump command writes default configuration
values to ./config.toml file for editing.`,
}
View Source
var ConfigUploadCmd = &cli.Command{ Action: configUploadAction, Name: "config.upload", Usage: "Upload the config file to db", Flags: []cli.Flag{ utils.ConfigFileFlag, utils.DBUserFlag, utils.DBPasswordFlag, utils.DBAddressFlag, utils.DBDatabaseFlag, }, Category: "CONFIG COMMANDS", Description: ` The config.upload command uploads the file to db. If db.user,db.password,db.address and db.database flags are not set, uses the 'SpDBConfig' in config file, it will load SP_DB_USER, SP_DB_PASSWORD, SP_DB_ADDRESS and SP_DB_DATABASE from ENV.`, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.