Parts of the article are printed in different colours.
There are statistics at the top and bottom of the results.
You can also use -r to reverse the order of the output. This is useful for seeing the top result right away in the terminal, since it will be close to your cursor. Just scroll up to see progressively worse-matching results.
Ref: Pretty print for output of search in CLI #1
For example, if you use cat example-data/2022-01.json | node hyper-recent.js search -spr "breast cancer" as your search, then you'll get this:
N.b. link is clickable (just hold the command key when you click).
-p
for pretty printing.-r
to reverse the order of the output. This is useful for seeing the top result right away in the terminal, since it will be close to your cursor. Just scroll up to see progressively worse-matching results.Ref: Pretty print for output of search in CLI #1
For example, if you use
cat example-data/2022-01.json | node hyper-recent.js search -spr "breast cancer"
as your search, then you'll get this:N.b. link is clickable (just hold the command key when you click).