CLI: --no-upload option not recognized in checkup command
Problem
The --no-upload option for the checkup command is not recognized, causing a confusing error message:
$ npx postgresai@dev checkup postgresql://... --no-upload
error: unknown option '--no-upload'
(Did you mean --[no-]upload?)
The suggested --[no-]upload syntax is not valid shell syntax and fails with:
zsh: no matches found: --[no-]upload
Root Cause
The Commander.js option was defined incorrectly:
.option("--[no-]upload", "...", undefined)
Passing undefined as the third argument (default value) breaks Commander.js's negatable boolean option parsing, causing it to treat --[no-]upload as a literal option name instead of the negatable syntax.
Solution
Replace the single option definition with two separate options:
.option("--upload", "upload JSON results to PostgresAI (requires API key)")
.option("--no-upload", "disable upload to PostgresAI")
This properly registers both --upload and --no-upload as valid options.