mix ash_baml.install (ash_baml v0.2.0)

View Source

Generates a BAML client module and example BAML files

Examples

# Generate config-driven client setup (recommended)
mix ash_baml.install --client support --path baml_src/support

# Generate multiple clients
mix ash_baml.install --client support --path baml_src/support
mix ash_baml.install --client content --path baml_src/content

# Legacy: Generate standalone client module file
mix ash_baml.install --module MyApp.BamlClient --path baml_src

Options

  • --client - Client identifier (e.g., :support). Recommended approach.
  • --module - Module name for legacy standalone client file
  • --path - Path to baml_src directory. Defaults to "baml_src"

Note: Specify either --client or --module, not both.