mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
21 lines
453 B
TypeScript
21 lines
453 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',
|
|
|
|
anonymousOptions: [
|
|
'<blueprint>'
|
|
],
|
|
|
|
run: function() {
|
|
return Promise.reject(new SilentError('The destroy command is not supported by Angular-CLI.'));
|
|
}
|
|
});
|
|
|
|
export default DestroyCommand;
|
|
DestroyCommand.overrideCore = true;
|