From 95f8bfd948f527c0fa071e7541b1c500b3a574db Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Wed, 25 Dec 2024 22:16:02 +0300 Subject: [PATCH] feat(cli): alias `env-file` and `env` options (#1037) --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 23c281e8f3..3d4a093920 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -77,7 +77,7 @@ export function printUsage() { export const argv = parseArgv(process.argv.slice(2), { string: ['shell', 'prefix', 'postfix', 'eval', 'cwd', 'ext', 'registry', 'env'], boolean: ['version', 'help', 'quiet', 'verbose', 'install', 'repl', 'experimental', 'prefer-local'], - alias: { e: 'eval', i: 'install', v: 'version', h: 'help', l: 'prefer-local' }, + alias: { e: 'eval', i: 'install', v: 'version', h: 'help', l: 'prefer-local', 'env-file': 'env' }, stopEarly: true, parseBoolean: true, camelCase: true,