@teambit/checkout
Version:
33 lines (32 loc) • 1.3 kB
TypeScript
import type { Command, CommandOptions } from '@teambit/cli';
import type { ApplyVersionResults, MergeStrategy } from '@teambit/component.modules.merge-helper';
import type { CheckoutMain, CheckoutProps } from './checkout.main.runtime';
export declare class CheckoutCmd implements Command {
private checkout;
name: string;
arguments: {
name: string;
description: string;
}[];
description: string;
helpUrl: string;
group: string;
extendedDescription: string;
alias: string;
options: CommandOptions;
loader: boolean;
constructor(checkout: CheckoutMain);
report([to, componentPattern]: [string, string], { interactiveMerge, forceOurs, forceTheirs, autoMergeResolve, manual, all, workspaceOnly, verbose, skipDependencyInstallation, revert, }: {
interactiveMerge?: boolean;
forceOurs?: boolean;
forceTheirs?: boolean;
autoMergeResolve?: MergeStrategy;
manual?: boolean;
all?: boolean;
workspaceOnly?: boolean;
verbose?: boolean;
skipDependencyInstallation?: boolean;
revert?: boolean;
}): Promise<string>;
}
export declare function checkoutOutput(checkoutResults: ApplyVersionResults, checkoutProps: CheckoutProps, alternativeTitle?: string): string;