ember-cli
Version:
Command line tool for developing ambitious ember.js apps
19 lines (14 loc) • 444 B
JavaScript
;
const Command = require('../models/command');
const SilentError = require('silent-error');
const chalk = require('chalk');
module.exports = Command.extend({
skipHelp: true,
unknown: true,
printBasicHelp() {
return chalk.red(`No help entry for '${this.name}'`);
},
validateAndRun() {
throw new SilentError(`The specified command ${this.name} is invalid. For available options, see \`ember help\`.`);
},
});