A typed command, pairing static metadata with runtime argument and result types.
Type safety applies to calls made through the framework's executor. Invocation
from the Command Palette, a keybinding, a menu or another extension is runtime
input, which is what the optional args validator is for.
A typed command, pairing static metadata with runtime argument and result types.
Type safety applies to calls made through the framework's executor. Invocation from the Command Palette, a keybinding, a menu or another extension is runtime input, which is what the optional
argsvalidator is for.Example