<p dir="auto">I wanted to make a small script that picks a random file, ask some questions about it and then go to the next file. I don't really need a full-fledged Command, would it be possible to move helpers like Question helper to their own component? (1) Right now i would have to use the Command component and set a default command (because i don't really need a "command"). It would be nice if the question helper just uses the default stdin stdout if those arguments are not supplied. (2). And secondly it would help if the Question helper has some convenient methods to create the questions. (3). I imagine a usage like this:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$helper = new QuestionHelper(); // pass optional other InputInterface / OutputInterface
$colors = $helper-&gt;choice(
        'Please select your favorite color (defaults to red)',
        array('red', 'blue', 'yellow'),
        0);

// .. $helper -&gt; another question"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>helper</span> = <span class="pl-k">new</span> <span class="pl-v">QuestionHelper</span>(); <span class="pl-c">// pass optional other InputInterface / OutputInterface</span>
<span class="pl-s1"><span class="pl-c1">$</span>colors</span> = <span class="pl-s1"><span class="pl-c1">$</span>helper</span>-&gt;<span class="pl-en">choice</span>(
        <span class="pl-s">'Please select your favorite color (defaults to red)'</span>,
        <span class="pl-en">array</span>(<span class="pl-s">'red'</span>, <span class="pl-s">'blue'</span>, <span class="pl-s">'yellow'</span>),
        <span class="pl-c1">0</span>);

<span class="pl-c">// .. $helper -&gt; another question</span></pre></div>
<p dir="auto">Same for being able to send color output to the console.</p>
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>yes</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>yes</td>
</tr>
<tr>
<td>Symfony version</td>
<td>latest</td>
</tr>
</tbody>
</table>
<p dir="auto"><code class="notranslate">Workflow\Registry</code> accepts only instances of <code class="notranslate">Worflow\Workflow</code> which makes decorating workflows awkward. It would allow for more flexibility if an interface was introduced here.</p>