source: trip-planner-front/node_modules/@angular/cli/commands/help-impl.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 997 bytes
RevLine 
[6a3a178]1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.HelpCommand = void 0;
11const command_1 = require("../models/command");
12const color_1 = require("../utilities/color");
13class HelpCommand extends command_1.Command {
14 async run() {
15 this.logger.info(`Available Commands:`);
16 for (const cmd of Object.values(await command_1.Command.commandMap())) {
17 if (cmd.hidden) {
18 continue;
19 }
20 const aliasInfo = cmd.aliases.length > 0 ? ` (${cmd.aliases.join(', ')})` : '';
21 this.logger.info(` ${color_1.colors.cyan(cmd.name)}${aliasInfo} ${cmd.description}`);
22 }
23 this.logger.info(`\nFor more detailed help run "ng [command name] --help"`);
24 }
25}
26exports.HelpCommand = HelpCommand;
Note: See TracBrowser for help on using the repository browser.