Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlagJson bool
View Source
var MysqlListCmd = &cobra.Command{ Use: "list", Short: "list Mysql databases", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { if FlagJson { mysql.ListJSON( mysqlcmd.MysqlCmdFlagHost, mysqlcmd.MysqlCmdFlagPort, mysqlcmd.MysqlCmdFlagUser, mysqlcmd.MysqlCmdFlagPassword, ) } else { mysql.ListText( mysqlcmd.MysqlCmdFlagHost, mysqlcmd.MysqlCmdFlagPort, mysqlcmd.MysqlCmdFlagUser, mysqlcmd.MysqlCmdFlagPassword, ) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.