New plugin method: Plugin.registerCommand(name, [options], action)