mix shapt.template (Shapt v0.1.0) View Source

This task output the template of a configuration for a Module. The template type is defined by the Adapter configured in the module. Parameters:

  • --module or -m(required): Accepts a module as parameter to output a template to it's adapter.
  • --file or -f: Accepts a filename as parameter to write the template to. If it's missing, will outpout to terminal.

Example:

mix shapt.expired -m MyToggles

mix shapt.expired -m MyToggles -f template.env

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.