env-cmd/dist/types.d.ts
Todd Bluhm 020998a077
docs(readme): added expand env and silent docs
- Added some additional fun and helpful emoji to the docs
2020-02-10 00:43:27 -06:00

23 lines
512 B
TypeScript

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;
};
}