mysqlSynopsis="Authorize a session against a target and invoke a MySQL client to connect"
)
funcmysqlOptions(c*Command,set*base.FlagSets){
f:=set.NewFlagSet("MySQL Options")
f.StringVar(&base.StringVar{
Name:"style",
Target:&c.flagMySQLStyle,
EnvVar:"BOUNDARY_CONNECT_MYSQL_STYLE",
Completion:complete.PredictSet("mysql"),
Default:"mysql",
Usage:`Specifies how the CLI will attempt to invoke a MySQL client. This will also set a suitable default for -exec if a value was not specified. Currently-understood values are "mysql".`,
})
f.StringVar(&base.StringVar{
Name:"username",
Target:&c.flagUsername,
EnvVar:"BOUNDARY_CONNECT_USERNAME",
Completion:complete.PredictNothing,
Usage:`Specifies the username to pass through to the client. May be overridden by credentials sourced from a credential store.`,
})
f.StringVar(&base.StringVar{
Name:"dbname",
Target:&c.flagDbname,
EnvVar:"BOUNDARY_CONNECT_DBNAME",
Completion:complete.PredictNothing,
Usage:`Specifies the database name to pass through to the client.`,