UNPKG

@catladder/cli

Version:

Panter cli tool for cloud CI/CD and DevOps

14 lines (13 loc) 721 B
import type { Config, EscapeForDotEnvOptions } from "../../../../pipeline/src/index.js"; import type { Choice } from "./types"; export declare const getComponentFullPath: (gitRoot: string, config: Config, componentName: string) => string; export declare const getCurrentComponentAndEnvFromChoice: (config: Config, choice?: Choice) => Promise<{ currentComponent: string; env: string; }>; export type MakeKeyValueStringOptions = { keyPrefix?: string; escapeOptions?: EscapeForDotEnvOptions; }; export declare const makeKeyValueString: (variables: Record<string, string>, { keyPrefix, escapeOptions }?: MakeKeyValueStringOptions) => string; export declare const sanitizeEnvVarName: (name: string) => string;