Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(project): logs of new command #12

Merged
merged 1 commit into from
Jul 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/cli",
"version": "1.0.9",
"version": "1.1.0",
"description": "Athenna CLI to create new projects and install components.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down
8 changes: 4 additions & 4 deletions src/Commands/New.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class New {
table.push(
[' Run following commands to get started'],
[
` ${arrow} cd ${projectName}\n ${arrow} npm run test\n ${arrow} npm run start\n ${arrow} npm run start:dev`,
` ${arrow} cd ${projectName}\n ${arrow} npm test\n ${arrow} npm start\n ${arrow} npm run start:dev`,
],
)

Expand Down Expand Up @@ -193,7 +193,7 @@ export class New {
table.push(
[' Run following commands to get started'],
[
` ${arrow} cd ${projectName}\n ${arrow} npm run test\n ${arrow} npm run start\n -- --help`,
` ${arrow} cd ${projectName}\n ${arrow} npm test\n ${arrow} npm start -- --help\n`,
],
)

Expand Down Expand Up @@ -230,7 +230,7 @@ export class New {

await CliHelper.runCommand(
cloneCommand,
`Cloning scaffold project from ${this.#repositoryUrl} in branch cli`,
`Cloning scaffold project from ${this.#repositoryUrl} in branch slim`,
)

await CliHelper.runCommand(
Expand All @@ -256,7 +256,7 @@ export class New {
table.push(
[' Run following commands to get started'],
[
` ${arrow} cd ${projectName}\n ${arrow} npm run start\n -- --help`,
` ${arrow} cd ${projectName}\n ${arrow} npm start -- --help\n`,
],
)

Expand Down