Skip to content

docs: correct CLI output behavior in README (fixes #220) - #242

Open
Munawarx wants to merge 1 commit into
tinyfish-io:mainfrom
Munawarx:munawarx/fix-cli-readme-220
Open

docs: correct CLI output behavior in README (fixes #220)#242
Munawarx wants to merge 1 commit into
tinyfish-io:mainfrom
Munawarx:munawarx/fix-cli-readme-220

Conversation

@Munawarx

Copy link
Copy Markdown

Problem

The README (CLI section) claims: The CLI writes results to the filesystem instead of piping them through your model's context window.

Actual behavior of @tiny-fish/cli (v0.6.1) does not match this. The CLI prints structured JSON to stdout.

Evidence

Ran a real command:

tinyfish fetch content get https://example.com

Output was JSON on stdout; no file was written to the filesystem (verified by diffing the directory before/after). The npm package description also only states run web automations from your terminal with no filesystem-write claim.

Root cause

Stale/aspirational documentation that no longer reflects the current CLI.

Solution

Replaced the misleading sentence with an accurate description of stdout output, and showed how users can redirect to a file themselves (tinyfish fetch ... > out.json) if they want low-token local persistence.

Testing

  • Rendered README preview; the corrected line reads correctly and markdown is intact.
  • Verified the claim matches actual tinyfish fetch stdout behavior.

Expected impact

Removes misleading info so users don't expect filesystem writes that don't happen; improves docs accuracy.

Fixes #220

The CLI prints structured JSON to stdout, not the filesystem.
Verified with 'tinyfish fetch content get https://example.com' — output
is JSON on stdout, no file written. Updated README to reflect actual behavior
and how users can redirect to a file for low-token local storage.

Fixes tinyfish-io#220
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: dd9cf29d-373f-4922-ab1b-79bc69cffe82

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI writing to filesystem

1 participant