konstantin-paulus c1bc3f0085 Update package.json and README for consistency and clarity
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.
2026-07-20 15:53:30 +02:00

17 lines
665 B
Markdown

# `dapi asset add <paths...>`
Adds one or more local files as assets in the open project. The counterpart of [`asset export`](./export.md).
## Input
- `<paths...>`: absolute or relative file paths (resolved against CWD)
- `--folder <id>`: folder to place the new assets in (optional; default the library root)
## Output
JSON Lines on stdout, one `AssetRecord` per added file (the same shape [`asset ls`](./ls.md) prints).
## Errors
Exits non-zero before importing anything if `--folder` doesn't resolve to a folder. A file that fails to import fails the whole command with `<path>: <reason>` on stderr; files imported before the failure stay in the library.