installPlugin
Example:
app.plugins.installPlugin('TfTHacker/obsidian42-brat', '0.8.0', {id: "obsidian42-brat",
name: "BRAT"});
To install & enable it,
await app.plugins.installPlugin('TfTHacker/obsidian42-brat', '0.8.0', {id: "obsidian42-brat",
name: "BRAT"});
await app.plugins.enablePlugin("obsidian42-brat");
uninstallPlugin
Example:
app.plugins.uninstallPlugin("obsidian42-brat");