22 lines
469 B
TypeScript

const Command = require('../ember-cli/lib/models/command');
const SilentError = require('silent-error');
const DestroyCommand = Command.extend({
name: 'destroy',
aliases: ['d'],
works: 'insideProject',
hidden: true,
anonymousOptions: [
'<blueprint>'
],
run: function() {
return Promise.reject(new SilentError('The destroy command is not supported by Angular CLI.'));
}
});
export default DestroyCommand;
DestroyCommand.overrideCore = true;