mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
7 lines
282 B
TypeScript
7 lines
282 B
TypeScript
import type { Environment } from './types.ts';
|
|
/**
|
|
* expandEnvs Replaces $var and ${var} in args and command with environment variables
|
|
* if the environment variable doesn't exist, it leaves it as is.
|
|
*/
|
|
export declare function expandEnvs(str: string, envs: Environment): string;
|