TL;DR: It would be cool if all CLI apps supported JSON output, but in the meantime we can use jc

  • ishanpage@programming.dev
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    11 months ago

    While jc is a great tool, and I’m definitely a fan, I believe the real solution to the overarching problem lies in a paradigm shift: see nushell

    • starman@programming.devOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 months ago

      I actually use both! It’s so nice to just jc git log and then work with the data using nushell :)

    • Thinker@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      11 months ago

      Nushell is so great! I’ve been using it for a couple years. It has completely replaced my need for tools like grep, sed, awk, etc. and because it handles JSON and so many other data formats natively I rarely even need to think about parsing.

    • Lupec@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 months ago

      I’ve always struggled with actually retaining knowledge on how to use the myriad tools you’d usually need to extract/parse data (awk, sed and friends) and this was a game changer. I don’t quite daily drive it just yet but when I do need it, it’s vastly more ergonomic.