Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
21 lines
358 B
Markdown
21 lines
358 B
Markdown
# `dapi folder create <name> [-p, --parent <id>]`
|
|
|
|
Creates a folder.
|
|
|
|
## Input
|
|
|
|
- `<name>`: folder name (required)
|
|
- `-p, --parent <id>`: parent folder (optional; omitted = the library root)
|
|
|
|
## Output
|
|
|
|
One JSON object:
|
|
|
|
```ts
|
|
Folder // { id: string; name: string; type: 'folder' }
|
|
```
|
|
|
|
## Errors
|
|
|
|
Exits non-zero if `--parent` doesn't resolve to a folder.
|