• Kogasa
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    yq is a wrapper around jq iirc and has the same syntax, but it do yaml.

    Small disclaimer that i think there may be 2 tools known as yq and this is only true of one of them.

    • snoweMA
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I meant tools like jq. I hardly ever use it as it’s hard to use and as a result I forget it making it even harder to use. The same applies to awk, sed, etc. Any tool with a bunch of command line flags and hard to understand arguments and syntax will always be low on my “want to use” list. Ripgrep is a prime example of how to build a command line app that is easy to use every time without trying to remember a billion things.