@@ -76,6 +76,10 @@ Future<String?> exportCode({
7676 String ? commitHash,
7777 bool exportAsDebug = false ,
7878}) async {
79+ stdout.write ('Downloading code with the FlutterFlow CLI...\n ' );
80+ stdout.write ('You are exporting project $projectId .\n ' );
81+ stdout.write (
82+ '${branchName != null ? 'Branch: $branchName ' : '' }${environmentName != null ? 'Environment: $environmentName ' : '' }${commitHash != null ? 'Commit: $commitHash ' : '' }\n ' );
7983 if (exportAsDebug && exportAsModule) {
8084 throw 'Cannot export as module and debug at the same time.' ;
8185 }
@@ -106,6 +110,8 @@ Future<String?> exportCode({
106110 extractArchiveToCurrentDirectory (projectFolder, destinationPath);
107111 }
108112
113+ stdout.write ('Successfully downloaded the code!\n ' );
114+
109115 folderName = projectFolder.first.name;
110116
111117 final postCodeGenerationFutures = < Future > [
@@ -130,6 +136,7 @@ Future<String?> exportCode({
130136 } finally {
131137 client.close ();
132138 }
139+ stdout.write ('All done!\n ' );
133140 return folderName;
134141}
135142
@@ -261,6 +268,7 @@ Future _downloadAssets({
261268 stderr.write ('Error downloading asset $path . This is probably fine.\n ' );
262269 }
263270 });
271+ stdout.write ('Downloading assets...\n ' );
264272 await Future .wait (futures);
265273}
266274
@@ -279,7 +287,7 @@ Future _runFix({
279287 final workingDirectory = unzipToParentFolder
280288 ? path_util.join (destinationPath, directory)
281289 : destinationPath;
282-
290+ stdout. write ( 'Running flutter pub get... \n ' );
283291 final pubGetResult = await Process .run (
284292 'flutter' ,
285293 ['pub' , 'get' ],
@@ -293,6 +301,7 @@ Future _runFix({
293301 '"flutter pub get" failed with code ${pubGetResult .exitCode }, stderr:\n ${pubGetResult .stderr }\n ' );
294302 return ;
295303 }
304+ stdout.write ('Running dart fix...\n ' );
296305 final fixDirectory = unzipToParentFolder ? directory : '' ;
297306 final dartFixResult = await Process .run (
298307 'dart' ,
0 commit comments