I'd like to run a script for open Visual Studio Code from command line and passing a command to the integrated terminal. Something like
#!/bin/bash
code /path/to/my/project --run-in-terminal "docker start my-db-container; npm start"
nb. --run-in-terminal
option does not exists
I'm also considering writing an exension to do so, but I can't find how to interact with integrated terminal. I know it's harmful, it's only for educational purpose.