replit / rippkgs

A CLI for indexing and searching packages in Nix expressions
MIT License
153 stars 2 forks source link

search: support json and table outputs #16

Closed cdmistman closed 7 months ago

cdmistman commented 7 months ago

Why

it's nice to be able to use rippkgs without jq

What changed

  1. added --json flag
  2. gate json output on --json flag presence
  3. print a table when --json flag isn't present
image

Test plan

check matrix results with or without --exact and --json flags