Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 358 Bytes

File metadata and controls

20 lines (12 loc) · 358 Bytes

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:

Folder   // { id: string; name: string; type: 'folder' }

Errors

Exits non-zero if --parent doesn't resolve to a folder.