CLI Outline Resource¶
CLIOutlineResource(cli)
¶
Bases: BaseCLIResource
CLI resource for document outline operations.
Attributes:
| Name | Type | Description |
|---|---|---|
_cli |
Reference to the parent |
Source code in src/aiobsidian/cli/_base.py
get(path)
async
¶
Get the heading outline of a file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Path to the file relative to the vault root. |
required |
Returns:
| Type | Description |
|---|---|
list[dict[str, Any]]
|
List of heading objects forming the document outline. |