You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, if i use --verbose with param (--verbose=1,2,3) I have an error
[Symfony\Component\Console\Exception\RuntimeException]
The "--verbose" option does not accept a value.
I did these steps
Fresh installation symfony new barno2 3.0.0
create Command with php bin/console generate:command (my command is app:demo) php bin/console app:demo --verbose=1
After this command I have the previous error
without param, return the VERBOSITY_VERBOSE
if ($output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {
$output->writeln('<fg=black;bg=magenta>VERBOSE</>');
}
my final workflow
php bin/console app:demo --verbose
VERBOSE
Command result.
php bin/console app:demo --verbose=1
[Symfony\Component\Console\Exception\RuntimeException]
The "--verbose" option does not accept a value.
PHP 5.6.10
The text was updated successfully, but these errors were encountered:
Hi, if i use --verbose with param (--verbose=1,2,3) I have an error
I did these steps
Fresh installation
symfony new barno2 3.0.0
create Command with
php bin/console generate:command
(my command is app:demo)php bin/console app:demo --verbose=1
After this command I have the previous error
without param, return the VERBOSITY_VERBOSE
my final workflow
PHP 5.6.10
The text was updated successfully, but these errors were encountered: