I can successfully do this:
sql my_connection_string @script1.sql
However, I am struggling to make this work, using a script hosted in a private repo.
sql my_connection_string https://my_private_repo_url/script1.sql
How can I make this work in a single line?
You've got it.
Here's a public SQL file, courtesy Kris.