Open the workspace path in the configured editor.
command is a shell template, e.g. "code ." or "nvim .".
The trailing . (or any .) in the command is replaced by the actual path.
Open a terminal window in the workspace path.
If command is provided it is run as a shell template (same . replacement as editor).
Otherwise a platform-appropriate default terminal is used.