1
0
Fork 0

Merge pull request #2283 from hkdobrev/master

Use default description and license from CLI args
pull/2285/head
Jordi Boggiano 2013-09-21 02:34:15 -07:00
commit b0a7c7574a
1 changed files with 4 additions and 2 deletions

View File

@ -208,7 +208,8 @@ EOT
$description = $input->getOption('description') ?: false;
$description = $dialog->ask(
$output,
$dialog->getQuestion('Description', $description)
$dialog->getQuestion('Description', $description),
$description
);
$input->setOption('description', $description);
@ -258,7 +259,8 @@ EOT
$license = $input->getOption('license') ?: false;
$license = $dialog->ask(
$output,
$dialog->getQuestion('License', $license)
$dialog->getQuestion('License', $license),
$license
);
$input->setOption('license', $license);