UNPKG

@atomist/sdm-core

Version:

Atomist Software Delivery Machine - Implementation

20 lines 931 B
import { HandlerError, HandlerResult } from "@atomist/automation-client"; import { CommandHandlerRegistration, CommandListenerInvocation } from "@atomist/sdm"; export declare class SetDeployEnablementParameters { msgId?: string; owner: string; repo: string; providerId: string; name: string; version: string; } /** * Command to set deploy enablement on the currently mapped repo * @param {CommandListenerInvocation} cli * @param {boolean} enable * @returns {Promise<HandlerResult | HandlerError>} */ export declare function setDeployEnablement(cli: CommandListenerInvocation<SetDeployEnablementParameters>, enable: boolean): Promise<HandlerResult | HandlerError>; export declare const EnableDeploy: CommandHandlerRegistration<SetDeployEnablementParameters>; export declare const DisableDeploy: CommandHandlerRegistration<SetDeployEnablementParameters>; //# sourceMappingURL=SetDeployEnablement.d.ts.map