UNPKG

@amplitude/ampli

Version:

Amplitude CLI

24 lines (23 loc) 867 B
import BaseAction, { ActionConfig, CommonFlagsWithToken } from './base'; import { DEPRECATED_RUNTIMES } from './configure'; declare type PullFlags = CommonFlagsWithToken & { branch: string | undefined; version: string | undefined; path: string | undefined; omitApiKeys: boolean | undefined; [DEPRECATED_RUNTIMES]: boolean | undefined; }; declare type PullArgs = { source: string | undefined; }; export default class PullAction extends BaseAction<PullFlags, PullArgs> { private setBranchMappedToMain; constructor(flags: PullFlags, args: PullArgs, config: ActionConfig, setBranchMappedToMain: (automatically: boolean) => void); run(forceUserBranchPrompt?: boolean): Promise<void>; private getSource; private generateSdk; private showDiff; private selectBranchToPull; private checkBranchNeedsRefresh; } export {};