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.
665 B
665 B
dapi asset add <paths...>
Adds one or more local files as assets in the open project. The counterpart of asset export.
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 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.