mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
22 lines
469 B
TypeScript
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;
|