getDeploy method
Deployment
getDeploy({
- required ArgResults results,
- required DartDeploy dartDeploy,
- required DartBuild dartBuild,
Implementation
Deployment getDeploy({
required ArgResults results,
required DartDeploy dartDeploy,
required DartBuild dartBuild,
}) {
return WebDeployment(
dartDeploy: dartDeploy,
dartBuild: dartBuild,
webServerPath: results[argWebServerPath] as String,
preScriptPath: results[argWebPreScript] as String?,
postScriptPath: results[argWebPostScript] as String?,
serverConnection: WebServerConnection(
host: results[argWebServerHost] as String,
port: int.tryParse(results[argWebServerPort] ?? ''),
sshUser: results[argWebSshUser] as String,
sshPrivateKeyBase64: results[argWebSshPrivateKeyBase64] as String?,
// sshPrivateKeyPassphrase: results[argWebSshPrivateKeyPassphrase] as String?,
),
);
}