UNPKG

@teambit/renaming

Version:
29 lines (28 loc) 776 B
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; }; export declare class RenameCmd implements Command { private renaming; name: string; description: 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>; }