Hans a0978b1db3 refactor: fix types to remove any
require() returns any so we were missing some typing errors.
2018-07-11 13:35:35 -07:00

32 lines
1.1 KiB
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { tags } from '@angular-devkit/core';
import { Command, Option } from '../models/command';
export class EjectCommand extends Command {
public readonly name = 'eject';
public readonly description = 'Temporarily disabled. Ejects your app and output the proper '
+ 'webpack configuration and scripts.';
public readonly arguments: string[] = [];
public readonly options: Option[] = [];
public static aliases = [];
run() {
this.logger.info(tags.stripIndents`
The 'eject' command has been temporarily disabled, as it is not yet compatible with the new
angular.json format. The new configuration format provides further flexibility to modify the
configuration of your workspace without ejecting. Ejection will be re-enabled in a future
release of the CLI.
If you need to eject today, use CLI 1.7 to eject your project.
`);
}
}