Add non-interactive mode for all commands
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3556200. --> Reported by: [balintbrews](https://www.drupal.org/user/613760) Related to !359 >>> <h3 id="overview">Overview</h3> <p>Certain CLI commands, such as <code>upload</code>, require interactive prompts and cannot be run non-interactively.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Make sure the <code>upload</code>, <code>download</code>, and <code>build</code> commands can be used in automated workflows and scripts without any interaction, in non-interactive mode.</p> <ol> <li>In practice, this will mean that all three should handle a <strong><code>-c, --components</code></strong> flag with a comma-separated list of component IDs. (Note: The <code>download</code> command already has a <code>-c, --component</code> flag, but it can only handle a single component.)</li> <li>In addition, the <code>download</code> command should skip confirmation prompts when <strong><code>-y, --yes</code></strong> is passed. This will mean skipping two prompts: one to confirm the selected components, and another one for when a local folder already exists.</li> </ol>
issue