18 lines
419 B
Markdown
18 lines
419 B
Markdown
# `dapi selection ls`
|
|
|
|
The currently selected nodes. Alias: `get`.
|
|
|
|
Mutating selection commands ([`set`](./set.md), [`focus`](./focus.md)) return the resulting selection state in this same shape, so callers can chain or assert without a follow-up read.
|
|
|
|
## Input
|
|
|
|
None.
|
|
|
|
## Output
|
|
|
|
JSON Lines, one per selected node (no output if nothing is selected):
|
|
|
|
```ts
|
|
NodeRef // { id: number; name: string; type: string }
|
|
```
|