Elmer v0.0.3 Mix.Tasks.Elmer.Gen.Msg
This is a mix task for creating a Msg template.
Summary
Functions
Creates a new elm Msg in the current directory.
Run with mix elmer.gen.msg <args>
Args are similar to phoenix gen arguments where they are in the format “MsgName:Type1:Type2:TypeN”
- MsgName is the name of the message you want to generate
- The types will be entered in exactly as you type them.
- You can enter in as many messages as you want as long as they’re separated by a space
- Currently there’s no way to set the root elm path so you have to enter it each time you generate.