View Source mix torch.install (Torch v4.2.1)

Installs torch layout to your _web/templates directory.

configuration

Configuration

config :torch,
  otp_app: :my_app,
  template_format: :eex

example

Example

Running without options will read configuration from your config.exs file, as shown above.

mix torch.install

Also accepts --format and --app options:

mix torch.install --format slime --app my_app

Link to this section Summary

Link to this section Functions