UNPKG

@teambit/workspace

Version:
28 lines (27 loc) 768 B
import type { Command, CommandOptions } from '@teambit/cli'; import type { Workspace } from './workspace'; type PatternFlags = { json?: boolean; remote?: boolean; }; export declare class PatternCommand implements Command { private workspace; name: string; alias: string; description: string; extendedDescription: string; examples: { cmd: string; description: string; }[]; group: string; private: boolean; options: CommandOptions; remoteOp: boolean; constructor(workspace: Workspace); report([pattern]: [string], flags: PatternFlags): Promise<string>; json([pattern]: [string], flags: PatternFlags): Promise<string[]>; private getRemoteIds; private extractScopeNames; } export {};