UNPKG

@starship-ci/generator

Version:

Kubernetes manifest generator for Starship deployments

27 lines (26 loc) 701 B
import { Script } from '@starship-ci/types'; export declare class ScriptManager { private packageRoot; private configDir?; constructor(packageRoot?: string, configDir?: string); /** * Load a script from the filesystem */ loadScript(scriptPath: string): string; /** * Get script content based on Script config */ getScriptContent(scriptConfig: Script): string; /** * Get all available script files */ getAvailableScripts(): string[]; /** * Check if a script file exists */ scriptExists(scriptPath: string): boolean; /** * Get the full path to a script */ getScriptPath(scriptPath: string): string; }