Shapt v0.0.2 mix shapt.template 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

A task needs to implement run which receives a list of command line args.

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.