]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add more log to tag:all
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Oct 2016 16:31:30 +0000 (18:31 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Oct 2016 16:55:21 +0000 (18:55 +0200)
src/Wallabag/CoreBundle/Command/TagAllCommand.php

index db1a9ab79d3b28d361e7498b156a57dcc4f4e6b7..3f9bb04d9f29b72a53ee0391711013094c6c8003 100644 (file)
@@ -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);