vercel-env-push
Version:
The missing Vercel CLI command to push environment variables from .env files.
13 lines (10 loc) • 350 B
TypeScript
declare type EnvVars = Record<string, string>;
declare function pushEnvVars(envFilePath: string, envs: string[], options?: Options): Promise<void>;
interface Options {
branch?: string;
dryRun?: boolean;
interactive?: boolean;
prePush?: (envVars: EnvVars) => EnvVars | Promise<EnvVars>;
token?: string;
}
export { pushEnvVars };