• Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    While it doesn’t provide an SQL interface, I’ve been using Nushell as my shell, which has native data operations.

    I tried querying the same, and I’m still not fluent (this was my third or fourth bigger/practical data querying), but it works well and fast too when you know the syntax:

    http get https://api.github.com/orgs/golang/repos | each {|x| get license} | get key | group-by --to-table | update items {|x| $x.items | length }
    

    I’ve used Nushell for reading en-mass json files, generating command json files for stuff saved in excel files (you can natively open those too), and most recently to query log files for specific information and usage analysis.

    /edit: This comment has the better nu solution.