terminal_type can be a generic terminal, as in the active terminal, or it can be a specific terminal type if the command only runs in one terminal.
! is used to run the command immediately.
command is any command you want to run
arguments are any number of arguments for the command
placeholder is recognized as anything between <> or {{}}. Commands with placeholders can not be run immediately. They are staged to run so that you can fill in the placeholders.
Examples
terminal://docker compose up places docker compose up in your active terminal, ready for you to press enter.
terminal!://docker compose upruns the command in your active terminal.
pwsh!://Get-AzContext runs the command in a powershell (pwsh) terminal.
cmd!://rmdir /s /q node_modules will run the command in a cmd terminal.
bash!://ls will run the command in a bash terminal.
wsl!://top will run the command in a wsl terminal.
Features
ctrl+click your command launches the desired terminal.
terminal, cmd, pwsh, bash, wsl supported.
terminal followed by ! will auto-run the command.
cmd:// and wsl:// will fall back to the default shell on unsupported operating systems.
Security
The current workspace must be trusted before a command can be clicked. Commands will be presented as links, but clicking the link will be blocked until the workspace is trusted.