fix(search): expose pretty JSON option
AY
2mo ago+16+16+01234567890123456789-5-5-0123456789
Summary
- restore the
-p, --prettyoption registration forfirecrawl search - keep the existing search output behavior where
prettyimplies JSON output - add CLI argv coverage so
firecrawl search --helpexposes--pretty
Closes #181
Test Plan
pnpm run buildpnpm vitest run src/__tests__/cli-argv.test.ts src/__tests__/commands/search.test.tspnpm run format:check
The new CLI argv test failed before the option registration was restored because search help did not include --pretty; it passes after the change.
Summary by cubic
Fixes #181 by restoring the -p, --pretty flag for firecrawl search to enable pretty-printed JSON and show it in --help. Preserves behavior where --pretty implies JSON and adds a CLI argv test to prevent regressions.