@glyphtek/scriptit
Version:
A cross-runtime CLI and library for running scripts with environment management, TUI, and support for lambda functions. Optimized for Bun with compatibility for Node.js and Deno.
14 lines • 669 B
TypeScript
import type { VariableDefinition } from "../types/types.js";
/**
* Normalizes variable definitions from mixed formats to consistent format
*/
export declare function normalizeVariableDefinitions(variables: VariableDefinition[] | string[]): VariableDefinition[];
/**
* Prompts for multiple environment variables
*/
export declare function promptForEnvironmentVariables(variables: VariableDefinition[], existingEnv?: Record<string, string | undefined>): Promise<Record<string, string>>;
/**
* Parses comma or space separated variable names from CLI
*/
export declare function parseEnvPromptsList(envPrompts: string[]): string[];
//# sourceMappingURL=prompt.d.ts.map