• ouch@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    1 year ago

    What use cases does fx fulfill that other tools like jq or your editor don’t?

    • krash@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      I haven’t tried fx yet (but I will soon enough!) but my main gripe with jq is that its not very intuitive or userfriendly to pass arguments to get what I want out of it. fx seems to offer an interactive (TUI) way to interact with its content, wich might be better suited for my usercase where I just want to consume the logs with my eyes. jq is better as a pipe between two commands to process the json data.

    • Laser@feddit.de
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      My main gripe with nushell is that you can’t select rows that contain empty fields. As in not NULL but straight up don’t exist, but this is very common for tools that output json. E.g. you use ip a with json output and since you have interfaces with different properties, the fields are empty for some interfaces and working with these tables is a PITA