8000 [Dotenv] Add --dotenv-path option to DotenvDumpCommand by alexndlm · Pull Request #52553 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Dotenv] Add --dotenv-path option to DotenvDumpCommand #52553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
-refactoring
  • Loading branch information
alexndlm committed Nov 13, 2023
commit c0218d66a60e3b9078f49c53b5ae1fc568402353
2 changes: 1 addition & 1 deletion src/Symfony/Component/Dotenv/Command/DotenvDumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function configure(): void
new InputArgument('env', null === $this->defaultEnv ? InputArgument::REQUIRED : InputArgument::OPTIONAL, 'The application environment to dump .env files for - e.g. "prod".'),
])
->addOption('empty', null, InputOption::VALUE_NONE, 'Ignore the content of .env files')
->addOption('dotenv-path', null, InputOption::VALUE_OPTIONAL, 'Path to .env files')
->addOption('dotenv-path', null, InputOption::VALUE_OPTIONAL, 'Path to .env file')
->setHelp(<<<'EOT'
The <info>%command.name%</info> command compiles .env files into a PHP-optimized file called .env.local.php.

Expand Down
0