Skip to main content

Documents

This section covers document generation with eledoctl.

The main command is:

eledoctl documents generate TEMPLATE_ID

Use it to generate PDF documents from Eledo templates directly from the command line.


Available Commands

Generate Documents

Generate a PDF document from an Eledo template.

You can provide data using:

  • simple command-line fields
  • inline JSON payloads
  • JSON files
  • standard input

Common use cases include:

  • generating a single PDF from the terminal
  • testing templates during development
  • creating PDFs from shell scripts
  • running scheduled jobs with cron
  • integrating Eledo into CI/CD pipelines
  • connecting Eledo to custom backend tools

Generate Documents