CLI Hotkeys Resource¶
CLIHotkeysResource(cli)
¶
Bases: BaseCLIResource
CLI resource for hotkey operations.
Attributes:
| Name | Type | Description |
|---|---|---|
_cli |
Reference to the parent |
Source code in src/aiobsidian/cli/_base.py
get(command_id, *, verbose=False)
async
¶
Get the hotkey binding for a command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
command_id
|
str
|
Command identifier. |
required |
verbose
|
bool
|
If |
False
|
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Hotkey binding details. |