Add Drush command for loading documents
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3575375. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !16 !11
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>This might seem counterintuive, but for code agents it would be great to have a way to load a document and see the output, to see if it actually is working.</p>
<p>This means that you should be able to run something like <code>drush document:load --input=../test/hello.pdf --output=markdown</code> or <code>drush document:load --plugin=ai_file_to_text --input=../test/hello.pdf --output=markdown</code> and it should just output the raw text.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Scope this issue.</li>
<li>Start working on it.</li>
</ul>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue