mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
Add more log to tag:all
This commit is contained in:
parent
e39aec3e38
commit
4d318f3755
@ -34,10 +34,13 @@ class TagAllCommand extends ContainerAwareCommand
|
||||
}
|
||||
$tagger = $this->getContainer()->get('wallabag_core.rule_based_tagger');
|
||||
|
||||
$output->write(sprintf('Tagging entries for user « <info>%s</info> »... ', $user->getUserName()));
|
||||
$output->write(sprintf('Tagging entries for user « <comment>%s</comment> »... ', $user->getUserName()));
|
||||
|
||||
$entries = $tagger->tagAllForUser($user);
|
||||
|
||||
$output->writeln('<info>Done.</info>');
|
||||
$output->write(sprintf('Persist entries ... ', $user->getUserName()));
|
||||
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
foreach ($entries as $entry) {
|
||||
$em->persist($entry);
|
||||
|
Loading…
Reference in New Issue
Block a user