Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from neutronjs/hotfix/update-react-favicon
Browse files Browse the repository at this point in the history
v2.1.3
  • Loading branch information
Thiago de Souza authored Oct 11, 2019
2 parents baad531 + 958bddb commit 03ab243
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@neutronjs/cli",
"description": "This CLI was developed to help developers create new projects quickly and easily",
"version": "2.1.2",
"version": "2.1.3",
"main": "build/cli.js",
"license": "MIT",
"bin": {
Expand All @@ -19,6 +19,18 @@
"email": "[email protected]",
"url": "https://github.com/thiagodesouza"
},
"contributors": [
{
"name": "Luis Vinicius",
"email": "[email protected]",
"url": "https://github.com/viniborges"
},
{
"name": "Lucas Martioli",
"email": "[email protected]",
"url": "https://github.com/lucasmartioli"
}
],
"repository": {
"type": "git",
"url": "https://github.com/neutronjs/neutron-cli"
Expand Down Expand Up @@ -67,4 +79,4 @@
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1"
}
}
}
6 changes: 3 additions & 3 deletions src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

class HelpInfo {
static Message: string = "Usage: neutron create <YourAppName> <platform>";
static Options: any = {
static Platforms: any = {
Text: "Platforms:",
Rows: [
"--web New project with ReactJS",
Expand Down Expand Up @@ -144,8 +144,8 @@ class CreateCommand {
PrintMessage(HelpInfo.Message, MessageType.INFO);
PrintNewLine();

PrintMessage(HelpInfo.Options.Text, MessageType.DEFAULT);
HelpInfo.Options.Rows.forEach(row => {
PrintMessage(HelpInfo.Platforms.Text, MessageType.DEFAULT);
HelpInfo.Platforms.Rows.forEach(row => {
PrintMessage(row, MessageType.DEFAULT, 2);
});
}
Expand Down

0 comments on commit 03ab243

Please sign in to comment.