mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 21:56:33 +02:00
feat(console): update EntriesDeleteCommand #543
This commit is contained in:
@@ -29,7 +29,7 @@ class EntriesDeleteCommand extends Command
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
|
||||
if (entries()->delete($input->getOption('id'))) {
|
||||
$io->success('Deleted entry ' . $input->getOption('id'));
|
||||
$io->success('Entry ' . $input->getOption('id') . ' deleted.');
|
||||
return Command::SUCCESS;
|
||||
} else {
|
||||
$io->error('Entry ' . $input->getOption('id') . ' wasn\'t deleted.');
|
||||
|
Reference in New Issue
Block a user