just the code to launch vs code from command prompt code example
Example 1: vscode install-extension command line
code --list-extensions
code --install-extension ms-vscode.cpptools
code --uninstall-extension ms-vscode.csharp
Example 2: vs code a project folder from the command line
cd my-project-folder/
code -n .