Skip to content

Commit 0e0e31c

Browse files
committed
patch missing arg
1 parent f773bd4 commit 0e0e31c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/cli/dotenvx.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ program.addCommand(require('./commands/ext'))
234234
program.command('prebuild')
235235
.description('DEPRECATED: moved to [dotenvx ext prebuild]')
236236
.addHelpText('after', examples.prebuild)
237+
.argument('[directory]', 'directory to prevent including .env files from', '.')
237238
.action(function (...args) {
238239
logger.warn('DEPRECATION NOTICE: [prebuild] has moved to [dotenvx ext prebuild]')
239240

@@ -243,6 +244,7 @@ program.command('prebuild')
243244
program.command('precommit')
244245
.description('DEPRECATED: moved to [dotenvx ext precommit]')
245246
.addHelpText('after', examples.precommit)
247+
.argument('[directory]', 'directory to prevent committing .env files from', '.')
246248
.option('-i, --install', 'install to .git/hooks/pre-commit')
247249
.action(function (...args) {
248250
logger.warn('DEPRECATION NOTICE: [precommit] has moved to [dotenvx ext precommit]')

0 commit comments

Comments
 (0)