mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
6 lines
229 B
TypeScript
6 lines
229 B
TypeScript
/**
|
|
* expandEnvs Replaces $var in args and command with environment variables
|
|
* the environment variable doesn't exist, it leaves it as is.
|
|
*/
|
|
export declare function expandEnvs(str: string, envs: Record<string, any>): string;
|