UNPKG

ember-cli-ajh

Version:

Command line tool for developing ambitious ember.js apps

20 lines (15 loc) 543 B
'use strict'; var Command = require('../models/command'); var SilentError = require('silent-error'); var chalk = require('chalk'); module.exports = Command.extend({ skipHelp: true, printBasicHelp: function() { this.ui.writeLine(chalk.red('No help entry for \'' + this.commandName + '\'')); }, validateAndRun: function() { throw new SilentError('The specified command ' + this.commandName + ' is invalid. For available options, see' + ' `ember help`.'); } });