@teambit/renaming
Version:
31 lines (30 loc) • 836 B
TypeScript
import type { Command, CommandOptions } from '@teambit/cli';
import type { RenamingMain } from './renaming.main.runtime';
export type RenameOptions = {
scope?: string;
path?: string;
refactor?: boolean;
preserve?: boolean;
ast?: boolean;
deprecate?: boolean;
skipCompile?: boolean;
};
export declare class RenameCmd implements Command {
private renaming;
name: string;
description: string;
extendedDescription: string;
helpUrl: string;
arguments: {
name: string;
description: string;
}[];
group: string;
skipWorkspace: boolean;
alias: string;
options: CommandOptions;
loader: boolean;
remoteOp: boolean;
constructor(renaming: RenamingMain);
report([sourceId, targetId]: [string, string], options: RenameOptions): Promise<string>;
}