mandarin v0.3.0 mix mandarin.gen.presence

Generates a Presence tracker for your application.

mix mandarin.gen.presence

mix mandarin.gen.presence MyPresence

The only argument is the module name of the Presence tracker, which defaults to Presence.

A new file will be generated in lib/my_app_web/channels/presence.ex, where my_app_web is the snake cased version of the module name provided.