diff --git a/packages/angular-cli/commands/generate.ts b/packages/angular-cli/commands/generate.ts index 789c15a89e9a..c3452c4d6db5 100644 --- a/packages/angular-cli/commands/generate.ts +++ b/packages/angular-cli/commands/generate.ts @@ -30,6 +30,7 @@ const GenerateCommand = EmberGenerateCommand.extend({ const blueprints = blueprintList .filter(bp => bp.indexOf('-test') === -1) .filter(bp => bp !== 'ng2') + .filter(bp => bp !== 'mobile') .map(bp => Blueprint.load(path.join(__dirname, '..', 'blueprints', bp))); let output = ''; diff --git a/packages/angular-cli/commands/help.ts b/packages/angular-cli/commands/help.ts index 85d42bc12c6d..c2a64771a183 100644 --- a/packages/angular-cli/commands/help.ts +++ b/packages/angular-cli/commands/help.ts @@ -17,7 +17,7 @@ const HelpCommand = Command.extend({ availableOptions: [], - run: function (commandOptions: any) { + run: function (commandOptions: any, rawArgs: any) { let commandFiles = fs.readdirSync(__dirname) // Remove files that are not JavaScript or Typescript .filter(file => file.match(/\.(j|t)s$/) && !file.match(/\.d.ts$/)) @@ -47,7 +47,14 @@ const HelpCommand = Command.extend({ tasks: this.tasks }); - this.ui.writeLine(command.printBasicHelp(commandOptions)); + if (rawArgs.length > 0) { + if (cmd === rawArgs[0]) { + this.ui.writeLine(command.printDetailedHelp(commandOptions)); + } + } else { + this.ui.writeLine(command.printBasicHelp(commandOptions)); + } + }); } });