mix caravela.info (Caravela v0.12.0)

Copy Markdown View Source

Print a terminal-friendly summary of a compiled Caravela domain — domain-level flags, every entity's fields / relations / policy / auth config, and top-level counts.

mix caravela.info MyApp.Domains.Library

Intended for humans scanning "what's in this domain?" at a glance. For a machine-readable dump, use mix caravela.ir instead.

Flags:

  • --no-color — disable ANSI colors (useful for CI / piping)

Summary

Functions

Render an IR map as a terminal-friendly string. Exposed for tests and other tooling that wants the same output without invoking the mix task.

Functions

render(ir, color? \\ false)

@spec render(map(), boolean()) :: String.t()

Render an IR map as a terminal-friendly string. Exposed for tests and other tooling that wants the same output without invoking the mix task.