-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up command-line overrides for configuration.
- Move responsibility for command line option declarations into `Configuration::getInputOptions`. - Move responsibility for overriding configuration via command line options into `Configuration::fromInput`. - Remove an implicit dependency on side effects from command line option name collisions with the base Console Application (this made `--verbose`, `--no-interaction`, and `--ansi` ... kind of work). Update available command-line options: - `--interactive` and `--no-interactive` for interactive mode input. - `--color` and `--no-color` for decorated output. - `--verbose`, `--quiet` and `-v`/`-vv`/`-vvv` for output verbosity. Add option aliases for compatibility with Symfony, Composer, and other familiar tools: - `--ansi` and `--no-ansi` for `--color` and `--no-color`. - `--no-interaction` for `--no-interactive`. - `-i` and `-a` to force interactive mode input (hey there `php -a`).
- Loading branch information
Showing
4 changed files
with
381 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.