UNPKG

liveperson-functions-cli

Version:
28 lines (27 loc) 826 B
import { PullView } from '../view/pull.view'; import { FileService } from '../service/file.service'; interface IPullControllerConfig { pullView?: PullView; fileService?: FileService; } interface IPullConfig { lambdaFunctions: string[]; inputFlags?: { yes?: boolean; ['no-watch']?: boolean; all?: boolean; }; } export declare class PullController { private pullView; private fileService; constructor({ pullView, fileService, }?: IPullControllerConfig); /** * Pulls the passed functions from the platform * @param {IPullConfig} { lambdaFunctions, inputFlags } - passed functions and flags * @returns {Promise<void>} - pull view * @memberof PullController */ pull({ lambdaFunctions, inputFlags, }: IPullConfig): Promise<void>; } export {};