title: Yeoman repeat prompt based on user input
body: <p>For example, I want to ask the user for the type of bread: </p>
  
  <pre><code>        {
              type: 'list',
              name: 'breadType',
              message: `What type of bread do you want?`,
              choices: response =&gt; {
                  const breadOptions = [
                      {
                          value: 'wheat',
                          name: 'Wheat Bread'
                      },
                      {
                          value: 'white',
                          name: 'White Bread'
                      }
                  ];
                  return breadOptions;
              },
              default: 0
          }
  </code></pre>
  
  <p>Then I'll ask for toppings based on the number of toppings they want:</p>
  
  <pre><code>    {
          when: response =&gt; response.breadType,
          type: 'input',
          name: 'numberOfToppings',
          message: 'Please enter how many toppings you want: '
      }
  </code></pre>
  
  <p>How would I prompt however many times user input for number of toppings?:</p>
  
  <pre><code> {
          when: response =&gt; response.numberOfToppings,
          type: 'input',
          name: 'toppingChoices',
          message: 'Please provide your topping(s): '
   }
  </code></pre>
  
  <p><strong>SAMPLE INPUT</strong>:</p>
  
  <pre><code>? Please enter how many toppings you want: 4
  ? Please provide your topping(s):cheese
  ? Please provide your topping(s):onions
  ? Please provide your topping(s):pickles
  ? Please provide your topping(s):tomatoes
  </code></pre>
  
  <p>I'm unfamiliar with yeoman syntax, please help.</p>