Skip to content

Instantly share code, notes, and snippets.

@nightscape
Last active January 30, 2023 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nightscape/a80a901f18124de455cd24548007789f to your computer and use it in GitHub Desktop.
Save nightscape/a80a901f18124de455cd24548007789f to your computer and use it in GitHub Desktop.
Querying the description of recently update Scoop manifests in NuShell
git diff (git log -1 --before=@{5.days.ago} --format=%H) --stat | parse -r "bucket/(?P<mani>.*?)\\.json .*" | insert description { |m| open --raw $"bucket/($m.mani).json" | from json | get description } | insert homepage { |m| open --raw $"bucket/($m.mani).json" | from json | get homepage }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment