F
createCommands
Creates the commands handle for one owner, like createPatcher does for patches. A plugin passes
its manifest id, so its commands are removed when it stops; a built-in passes 'unbound'. Text is message keys.
function createCommands(owner: string, options?: CommandsOptions): CommandsHandleParameters
| Name | Type | Description |
|---|---|---|
| owner | string | The plugin id, or |
| options? | CommandsOptions | The owner's own picker section; omitted, the shared Unbound section. |
Returns
CommandsHandleThe handle.