Maxim Mironjuk
-
March 05, 2026
A Symfony command that only ever prints a single success or failure line does its job fine when it's called from cron, but it wastes most of what the Console component offers. The moment a colleague runs that same command by hand to import test data or rebuild a search index, the quality of its output decides whether they trust the tool or keep a second terminal open with the logs, just in case. This article walks through how SymfonyStyle, ProgressBar and the Table helper work together, when interactive prompts actually help, and where the line to a cron-safe, non-interactive command sits.