Manage clinical document pipelines from your terminal.
The `@medingest/cli` npm package allows operators and developers to query status logs, ingest folders, and toggle webhook endpoints directly from the command line shell.
| medingest login | Authorize a CLI session with your secure API key. |
| medingest documents ingest [path] | Submit local folders or single files directly to the ingestion API. |
| medingest webhooks create [url] | Register a new webhook URL to receive events. |
Run the following shell commands to install and authorize the terminal tool:
# Install the CLI command tool globally
npm install -g @medingest/cli
# Login and authorize the CLI session key
medingest login --api-key YOUR_API_TOKEN
# Ingest and map a local folder of referrals
medingest documents ingest ./referrals/ --sync-ehr --watch