mastra
Version:
cli for mastra
16 lines • 597 B
TypeScript
/**
* Serialize env vars into `.env` file content, quoting/escaping values so the
* file is safe to `source` and skipping keys that aren't valid shell
* identifiers. Managed var names (platform-injected secrets whose values are
* never exposed) are listed as comments so users know they exist without
* round-tripping secrets into local files.
*/
export declare function serializeEnvFile(envVars: Record<string, string>, opts: {
header: string;
managedVarNames?: string[];
}): {
content: string;
written: number;
skipped: number;
};
//# sourceMappingURL=env-file.d.ts.map