mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
Add more log to tag:all
This commit is contained in:
parent
e39aec3e38
commit
4d318f3755
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue