Closed wernerdegroot closed 1 year ago
This is strange. If stdout in TTY is should automatically start.
Was having the same problem. In my case it was caused by the input containing more than one document (i.e. ndjson), which causes fx
to revert to streaming mode.
This issue https://github.com/antonmedv/fx/issues/214 describes a workaround.
Same problem. Invoked as npx fx data.json
and it doesn't run interactively. Run in a nothing-special iterm2 window.
Yes, npm version of fx is only for CI usage, it is not interactive. You need to install the "full" version. For example via brew install fx
.
I just installed fx on a Mac (using
brew install fx
, which installed version 24.0) in combination with zsh. For some reason, commands likefx data.json
just spits out the highlighted JSON to stdout, but not much else (very similar to whatjq data.json
does). How do I enter interactive mode?