chainabit artifact local create
Render a PDF locally and retain a verified delivery receipt
Synopsis
chainabit artifact local create --title <title> --text <text> [options]Options
| Option | Description | Default |
|---|---|---|
--title <title> | Document title. Required. | — |
--text <text> | Document body as plain text. Required. | — |
--format <format> | Requested format | "pdf" |
--output <path> | Workspace-relative destination | "artifact.pdf" |
--request <key> | Stable request key for reconciliation without overwriting | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Renders plain text into a PDF on this computer and saves it at a path relative to the current folder (artifact.pdf unless --output names another). The file must exist, be a real, non-empty PDF and match what was rendered before the receipt records it as delivered. An existing file is never replaced.
Only PDF can be created; another format, such as DOCX, is refused with a message instead of being saved as something else. Pages are A4, up to 16. Text may use Latin letters including Turkish and other accented Latin, Greek, Cyrillic and Arabic, with fonts bundled in the CLI; other scripts, such as Hebrew, Chinese, Japanese and Korean, and emoji are refused rather than replaced, and no PDF is saved. --request sets a stable key so a repeated request is reconciled with its receipt instead of overwriting the file.
The command needs local tools in a folder you trust, and it asks at the terminal for the steps your permission mode asks about. In a folder that is not trusted, or when an approval cannot be asked, it prints the request, the state recoverable and Local policy or approval refused the artifact operation., and exits with a non-zero code.
Examples
chainabit artifact local create --title "Meeting notes" --text "Decisions and next steps" --output notes.pdf