spawn/cli/src
A c65b11abbe
test: add 24 tests for missing-cloud error paths and suggestCloudsForPrompt (#485)
Cover untested error paths in index.ts when agent/cloud arguments are missing:
- suggestCloudsForPrompt: --prompt with agent but no cloud shows cloud suggestions
- handleNoCommand: --dry-run and --prompt without any args
- handleDefaultCommand: --dry-run with agent but no cloud
- --prompt-file with agent but no cloud
- Combined flag edge cases

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-11 09:43:31 -08:00
..
__tests__ test: add 24 tests for missing-cloud error paths and suggestCloudsForPrompt (#485) 2026-02-11 09:43:31 -08:00
commands-logic.ts test: Add command logic tests and refactor for testability (#56) 2026-02-08 12:02:43 -08:00
commands.ts fix: show both agent and cloud errors at once instead of one at a time (#484) 2026-02-11 09:40:43 -08:00
index.ts fix: show error when --dry-run used without agent and cloud args (#480) 2026-02-11 09:09:57 -08:00
manifest.ts fix: improve error messages and UX consistency across CLI and shell scripts (#466) 2026-02-11 07:46:56 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts fix: improve user-facing messages and error text across CLI and shell scripts (#464) 2026-02-11 07:26:00 -08:00