Skip to content

Commit

Permalink
feat(cli): alias env-file and env options (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub authored Dec 25, 2024
1 parent 90a4f24 commit 95f8bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95f8bfd

Please sign in to comment.