Skip to main content

morphir generate

  • Usage: morphir generate [FLAGS]

Generate code from Morphir IR

Flags

  • -t --target <TARGET> — Target language or format
  • -i --input <INPUT> — Path to the Morphir IR file or directory
  • -o --output <OUTPUT> — Output directory
  • --config <CONFIG> — Explicit config file path
  • --project <PROJECT> — Project name (for workspaces)
  • --json — Output as JSON
  • --json-lines — Output as JSON Lines (streaming)