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

27 lines
733 B
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 { Command, Option } from '../models/command';
export interface Options {
keyword: string;
search?: boolean;
}
export class GetSetCommand extends Command {
public readonly name = 'getset';
public readonly description = 'Deprecated in favor of config command.';
public readonly arguments: string[] = [];
public readonly options: Option[] = [];
public readonly hidden = true;
public async run(_options: Options) {
this.logger.warn('get/set have been deprecated in favor of the config command.');
}
}