Skip to content

Commit d9ed7ff

Browse files
committed
chore: remove symfony colors
1 parent 1b254a0 commit d9ed7ff

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/CreateCommand.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ protected function handle(): int
4545
$needsUpdate = Package::updateAvailable();
4646

4747
if ($needsUpdate) {
48-
$this->writeln('<comment>Update found, updating to the latest stable version...</comment>');
48+
$this->writeln('Update found, updating to the latest stable version...');
4949

5050
if (sprout()->run('php ' . dirname(__DIR__) . '/bin/leaf update')) {
51-
$this->writeln("<info>Leaf CLI updated successfully, building your app...</info>\n");
51+
$this->writeln("Leaf CLI updated successfully, building your app...\n");
5252

5353
return sprout()->run('php ' . implode(' ', (array) $_SERVER['argv']));
5454
} else {
55-
$this->writeln("<error>❌ Leaf CLI update failed, please try again later</error>\n");
55+
$this->writeln("❌ Leaf CLI update failed, please try again later\n");
5656
$this->writeln("⚙️ Creating app with current version...\n");
5757
}
5858
}
@@ -107,9 +107,9 @@ protected function handle(): int
107107

108108
$this->writeln(
109109
"\n⚙️ Creating \""
110-
. basename($directory) . '" in <info>./'
110+
. basename($directory) . '" in ./'
111111
. basename(dirname($directory)) .
112-
"</info> using preset <info>{$this->projectType}</info>."
112+
" using preset {$this->projectType}."
113113
);
114114

115115
if ($this->projectType === 'basic') {
@@ -165,7 +165,7 @@ protected function handle(): int
165165
});
166166
}
167167

168-
$this->writeln("\n🚀 Successfully created project <info>" . basename($directory) . "</info>\n");
168+
$this->writeln("\n🚀 Successfully created project " . basename($directory) . "\n");
169169

170170
$extraOptions = sprout()->prompt([
171171
[
@@ -236,20 +236,20 @@ protected function handle(): int
236236
if (sprout()->process(implode(' && ', $extraCommands))->setTimeout(null)->run() === 0 || count($extraCommands) === 1) {
237237
$this->writeln("\n🚀 Application scaffolded successfully");
238238
$this->writeln('👉 Get started with the following commands:');
239-
$this->writeln("\n <info>cd</info> " . basename($directory));
240-
$this->writeln(' <info>leaf serve</info>');
239+
$this->writeln("\n cd " . basename($directory));
240+
$this->writeln(' leaf serve');
241241

242242
if ($extraOptions['tests']) {
243243
$this->writeln("\n👉 You can run tests with:");
244-
$this->writeln("\n <info>leaf run test</info>");
244+
$this->writeln("\n leaf run test");
245245
}
246246

247247
$this->writeln("\n🍁 How fast can you ship?");
248248
} else {
249-
$this->writeln("\n❌ Could not scaffold extra options for <info>" . basename($directory) . '</info>');
249+
$this->writeln("\n❌ Could not scaffold extra options for " . basename($directory));
250250
$this->writeln('👉 Get started with the following commands:');
251-
$this->writeln("\n <info>cd</info> " . basename($directory));
252-
$this->writeln(' <info>leaf serve</info>');
251+
$this->writeln("\n cd " . basename($directory));
252+
$this->writeln(' leaf serve');
253253

254254
$this->writeln("\n🍁 Happy gardening!");
255255
}

0 commit comments

Comments
 (0)