output mount id on create
This commit is contained in:
parent
16ad612c83
commit
96b592b45b
1 changed files with 5 additions and 0 deletions
|
@ -180,6 +180,11 @@ class Create extends Base {
|
|||
$this->showMount($user, $mount, $input, $output);
|
||||
} else {
|
||||
$this->getStorageService($user)->addStorage($mount);
|
||||
if ($input->getOption('output') === self::OUTPUT_FORMAT_PLAIN) {
|
||||
$output->writeln('<info>Storage created with id ' . $mount->getId() . '</info>');
|
||||
} else {
|
||||
$output->writeln($mount->getId());
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue