UNPKG

env-cmd

Version:

Executes a command using the environment variables in an env file

23 lines (22 loc) 512 B
export interface GetEnvVarOptions { envFile?: { filePath?: string; fallback?: boolean; }; rc?: { environments: string[]; filePath?: string; }; verbose?: boolean; } export interface EnvCmdOptions extends Pick<GetEnvVarOptions, 'envFile' | 'rc'> { command: string; commandArgs: string[]; options?: { expandEnvs?: boolean; noOverride?: boolean; silent?: boolean; useShell?: boolean; verbose?: boolean; }; }