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