I wrapped the script in an automator app, so all one needs to do is download & double-click to unzip the app. Then double-click the app and select the .pak file, which then opens up textedit with the attributes to add to modsettings.lsx. No command line needed. If one is so inclined, the app can be opened from the automator app to see what it's doing:

https://github.com/smacx250/BG3/blob/main/misc_script/getBg3PakMeta.app.zip

On the right side of the github window there is a download button to click to download.