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.
614 B
614 B
dapi folder rm <ids...>
Deletes one or more folders. Deletion cascades: every descendant folder and every asset inside the subtree is deleted with it. The fulfilled record reports what the cascade removed, so callers can detect when a delete swept more than intended. Alias: remove.
Input
<ids...>: folder ids (required)
Output
JSON Lines on stdout, one per deleted folder:
{ id: string; deletedFolders: number; deletedAssets: number }
// deletedFolders counts the folder itself plus all descendants
Errors
An unknown id fails the whole command before anything is deleted.