morphir compile

  • Usage: morphir compile [FLAGS]

Compile source code to Morphir IR

Flags

-l --language <LANGUAGE>

Source language (e.g., gleam, elm)

-i --input <INPUT>

Input source directory or file

-o --output <OUTPUT>

Output directory

--package-name <PACKAGE_NAME>

Package name override

--config <CONFIG>

Explicit config file path

--project <PROJECT>

Project name (for workspaces)

--json

Output as JSON

--json-lines

Output as JSON Lines (streaming)