I wish this existed except for binaries inside Docker. A fat binary for Windows, macOS and Linux that isn’t really a binary at all, but fetched the thing you want from docker and just runs it. With the local file system.
Here you have JSON quoting along with PowerShell and optionally CMD quoting.
Computing should be easier than this.
https://docs.microsoft.com/en-us/cli/azure/use-cli-effective...
The script uses its name to look for a corresponding dockerfile/container (which it auto builds if needed) and then mounts the file system inside to allow you to run it on one or mode files locally.
See eg
https://github.com/alblue/scripts/blob/main/ctags https://github.com/alblue/scripts/blob/main/ctags-Dockerfile
— But that's the cloud.
— No, local operating system.