CLIDatabaseConnectingCommand()
Source
CLIDatabaseConnectingCommand() {
options
..addOption("flavor",
abbr: "f",
help: "The database driver flavor to use.",
defaultsTo: "postgres",
allowed: ["postgres"])
..addOption("connect",
abbr: "c",
help:
"A database connection URI string. If this option is set, database-config is ignored.",
valueHelp: "postgres://user:password@localhost:port/databaseName")
..addOption("database-config",
help:
"A configuration file that provides connection information for the database. "
"Paths are relative to project directory. If the connect option is set, this value is ignored. "
"See 'aqueduct db -h' for details.",
defaultsTo: "database.yaml")
..addFlag("use-ssl",
help: "Whether or not the database connection should use SSL",
defaultsTo: false);
}