CLI Bookmarks Resource¶
CLIBookmarksResource(cli)
¶
Bases: BaseCLIResource
CLI resource for bookmark operations.
Attributes:
| Name | Type | Description |
|---|---|---|
_cli |
Reference to the parent |
Source code in src/aiobsidian/cli/_base.py
add(*, file=None, folder=None, url=None, title=None, search=None, subpath=None)
async
¶
Add a bookmark.
At least one of file, folder, url, or search
must be provided.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file
|
str | None
|
Path to a file to bookmark. |
None
|
folder
|
str | None
|
Path to a folder to bookmark. |
None
|
url
|
str | None
|
URL to bookmark. |
None
|
title
|
str | None
|
Display title for the bookmark. |
None
|
search
|
str | None
|
Search query to bookmark. |
None
|
subpath
|
str | None
|
Subpath within the file (e.g. heading or block). |
None
|