Explorar o código

Chore: Improve create-project install UX

Provides feedback output before a potentially long wait on getBestCandidate() call on slow network connections where unresponsiveness/hang may be assumed.
polarathene %!s(int64=5) %!d(string=hai) anos
pai
achega
1b2582ff5b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/Composer/Command/CreateProjectCommand.php

+ 2 - 0
src/Composer/Command/CreateProjectCommand.php

@@ -285,6 +285,8 @@ EOT
             $directory = getcwd() . DIRECTORY_SEPARATOR . array_pop($parts);
         }
 
+        $io->writeError('<info>Creating a "' . $packageName . '" project at "' . $directory . '"</info>');
+
         $fs = new Filesystem();
         if (file_exists($directory)) {
             if (!is_dir($directory)) {