liveperson-functions-cli
Version:
LivePerson Functions CLI
28 lines (27 loc) • 982 B
TypeScript
import { DeployView } from '../../view/deploy.view';
import { DeploymentController } from './deployment.controller';
import { FileService } from '../../service/file.service';
interface IDeployControllerConfig {
deployView?: DeployView;
fileService?: FileService;
}
interface IDeployConfig {
lambdaFunctions: string[];
inputFlags?: {
yes?: boolean;
['no-watch']?: boolean;
};
}
export declare class DeployController extends DeploymentController {
private readonly deployView;
constructor({ deployView, fileService, }?: IDeployControllerConfig);
/**
* Gather informations about the passed functions depending on the flags and
* starts the deploy process.
* @param {IDeployConfig} { lambdaFunctions, inputFlags }
* @returns {Promise<void>} - deploy view, which runs the deploy requests
* @memberof DeployController
*/
deploy({ lambdaFunctions, inputFlags, }: IDeployConfig): Promise<void>;
}
export {};