UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

14 lines 513 B
declare class GlobalScriptFunction { name: string; script: string; constructor(name: string, script: string); toBashFunction(): string; invoke(...args: string[]): string; } export declare const globalScriptFunctions: Map<string, GlobalScriptFunction>; /** * registers a global script function * only use that in top-level scopes as it will attach the function to the global scope */ export declare const registerGlobalScriptFunction: (name: string, script: string) => GlobalScriptFunction; export {};