File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ program.addCommand(require('./commands/ext'))
234234program . 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')
243244program . 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]' )
You can’t perform that action at this time.
0 commit comments