printHostingSuccess static method
Implementation
static void printHostingSuccess(SetupConfig config, {required bool beta}) {
final String? projectId = config.firebaseProjectId;
if (projectId == null) {
return;
}
final String url = beta
? betaHostingUrl(projectId)
: releaseHostingUrl(projectId);
final String channel = beta ? 'beta' : 'release';
print('');
UserPrompt.printList(<String>[
'Hosting channel: $channel',
'Live URL: $url',
linkLine('Hosting console', firebaseHostingConsoleUrl(projectId)),
]);
}