bee document create
Overview
Section titled “Overview”Create a document
Omitted required fields will be prompted interactively. When input is piped, it is used as the body automatically.
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
Examples
Section titled “Examples”Create a document with title and body
bee document create -p PROJECT -t "Meeting Notes" -b "Content here"Create a document from stdin
echo "Content" | bee document create -p PROJECT -t "Notes"Create a child document
bee document create -p PROJECT -t "Sub Page" --parent-id 12345Output as JSON
bee document create -p PROJECT -t "Title" --jsonEnvironment variables
Section titled “Environment variables”-
BACKLOG_SPACE - Space hostname
-
BACKLOG_API_KEY - Authenticate with an API key
-
BACKLOG_PROJECT - Default project ID or project key