Elmer v0.0.10 Mix.Tasks.Elmer.Gen.Update

This is a mix task for creating an Update template.

Summary

Functions

Creates a new Update file in your elm path

Functions

run(args)

Creates a new Update file in your elm path.

Run with mix elmer.gen.update <module name> <args>

Args are in the format “Msg2:param1:param2 MsgN:paramN”

By default all update clauses will return (model, Cmd.none), this may change in the future.