View Source mix nimble_template.gen (nimble_template v4.2.1)

Apply Nimble's Elixir/Phoenix template

Usage

  • mix help nimble_template.gen # Print help
  • mix nimble_template.gen -v # Print the version

Phoenix application

  • mix nimble_template.gen --api # Apply the Phoenix API template
  • mix nimble_template.gen --live # Apply the Phoenix LiveView template
  • mix nimble_template.gen --web # Apply the Phoenix Web template

Non-Phoenix application

  • mix nimble_template.gen --mix # Apply the Mix template

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.