Commands
Create a draft
--prompt-texts is repeatable. The response includes the new content record with its ID, title, markdown body, slug, and status.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate drafts, finalize articles, and retrieve content from the Lightsage CLI.
| Command | Description |
|---|---|
lightsage content drafts create | Generate and save a draft article. |
lightsage content finalize --content-id <content_id> | Rewrite a draft into final content. |
lightsage content retrieve --content-id <content_id> | Retrieve a content record. |
lightsage content drafts create \
--title "Getting started with the Acme API" \
--topic-name "onboarding" \
--description "Tutorial for first-time API users" \
--prompt-texts "How do I authenticate?" \
--prompt-texts "How do I send my first request?"
--prompt-texts is repeatable. The response includes the new content record with its ID, title, markdown body, slug, and status.
lightsage content finalize --content-id content_123
lightsage content retrieve --content-id content_123