Commands Resource¶
CommandsResource(client)
¶
Bases: BaseResource
List and execute Obsidian commands.
Source code in src/aiobsidian/rest/_base.py
list()
async
¶
List all available Obsidian commands.
Returns:
| Type | Description |
|---|---|
list[Command]
|
A list of |
Source code in src/aiobsidian/rest/commands.py
execute(command_id)
async
¶
Execute an Obsidian command by its ID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
command_id
|
str
|
The unique identifier of the command
(e.g. |
required |