Skip to content

Commit

Permalink
fix(appScaffold / start-services): fix colors and bold for commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mauran committed May 9, 2023
1 parent c99747c commit 8ff9a06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/commands/app/scaffold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export default class AppScaffold extends Kommand {
await tasks.run();
this.log("");
this.logOk(
`Scaffolding complete! Use ${chalk.grey(
`Scaffolding complete! Use ${chalk.blue.bold(
`cd ${destination} && npm run docker npm install`
)} install dependencies and then ${chalk.grey(
)} install dependencies and then ${chalk.blue.bold(
`npm run docker:dev`
)} to run your application!`
);
Expand Down
6 changes: 3 additions & 3 deletions src/commands/app/start-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ export default class AppStartServices extends Kommand {
"Elasticsearch and Redis are booting in the background right now."
);
this.log(chalk.grey("\nTo watch the logs, run"));
this.log(chalk.grey(` docker-compose -f ${docoFilename} logs -f\n`));
this.log(" Elasticsearch port: 9200");
this.log(" Redis port: 6379");
this.log(chalk.blue.bold(` docker-compose -f ${docoFilename} logs -f\n`));
this.log(` Elasticsearch port: ${chalk.bold("9200")}`);
this.log(` Redis port: ${chalk.bold("6379")}`);
} catch (error: any) {
this.logKo(` Something went wrong: ${error.message}`);
this.log(
Expand Down

0 comments on commit 8ff9a06

Please sign in to comment.