コンテンツにスキップ

bee document create

Create a document

Omitted required fields will be prompted interactively. When input is piped, it is used as the body automatically.

Terminal window
bee document create [flags]
-p , --project <id>
Project ID or project key
-t , --title <text>
Document title
-b , --body <text>
Document body content
--emoji <emoji>
Emoji for the document
--parent-id <id>
Parent document ID for creating as a child document
--add-last
Add document to the end of the list
--json <fields>
Output as JSON (optionally filter by field names, comma-separated)
-s , --space <hostname>
Space hostname

Create a document with title and body

Terminal window
bee document create -p PROJECT -t "Meeting Notes" -b "Content here"

Create a document from stdin

Terminal window
echo "Content" | bee document create -p PROJECT -t "Notes"

Create a child document

Terminal window
bee document create -p PROJECT -t "Sub Page" --parent-id 12345

Output as JSON

Terminal window
bee document create -p PROJECT -t "Title" --json
BACKLOG_SPACE
Space hostname
BACKLOG_API_KEY
Authenticate with an API key
BACKLOG_PROJECT
Default project ID or project key