Skip to content
DunSocial Docs

Drafts

Save an idea for later as a draft from the DunSocial CLI, without publishing it. List, fetch, and manage drafts in the same workspace from your terminal.

Drafts are not publishes. Create one when you want to save an idea for later in the same workspace.

List and get

dun drafts list
dun drafts list --limit 20 --json
dun drafts get DRAFT_ID

Create

dun drafts create --text "Idea for later"
dun drafts create \
--text "Launch thread draft" \
--platforms x,linkedin \
--accounts ACC1 \
--name "Launch"
Flag Purpose
--text Draft body (required)
--platforms e.g. x,linkedin,pinterest
--accounts Optional social account ids
--media Media asset ids
--name Optional draft name

Update

dun drafts update DRAFT_ID --text "Revised copy"

Delete

Requires --yes:

dun drafts delete DRAFT_ID --yes