UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

37 lines 1.12 kB
import type { IApp } from "../../entities"; type DownloadDotenvOptions = { /** * Location to write down the dotenv file * @default process.cwd() */ targetDir?: string; /** * Output file name * @default `.env.{env}` * @example ".env.dev" | ".env.prod" */ fileName?: string; /** * Should overwrite the existing file */ overwrite?: boolean; isDebugging?: boolean; }; export declare const getDotenvContentByApp: (app: IApp, env?: string) => string; export declare const downloadDotenvByApp: (app: IApp, env?: string, options?: DownloadDotenvOptions) => Promise<{ filePath: string; fileName: string; content: string; }>; export declare const downloadDotenvByAppSlug: (appSlug: string, env?: string, options?: DownloadDotenvOptions) => Promise<{ filePath: string; fileName: string; content: string; }>; export declare const downloadDotenv: (env: string, options?: DownloadDotenvOptions) => Promise<{ filePath: string; fileName: string; content: string; }>; export {}; //# sourceMappingURL=dotenv-download.d.ts.map