:arrow_up: command-palette to fix exception on call to ::command

Fixes #4318