Arguments: Each extension argument has the form or . - → - → Step 1 — Locate DuckDB If not found, tell the user: DuckDB is not installed. Install it first with one of: - macOS: - Linux: - Windows: Then re-run . Stop if DuckDB is not found. Step 2 — Check for --update flag If is present in , remove it from the argument list and set mode to update . Otherwise mode is install . Step 3 — Build and run statements Install mode: Parse each remaining argument: - If it contains , split on → - Otherwise → Run all in a single DuckDB call: Update mode: First, check if the DuckDB CLI itself is up to date:…