Phoenix v1.2.1 Mix.Tasks.Phoenix.Gen.Channel

Generates a Phoenix channel.

mix phoenix.gen.channel Room

Accepts the module name for the channel

The generated model will contain:

  • a channel in web/channels
  • a channel_test in test/channels

Summary

Functions

Callback implementation for c:Mix.Task.run/1

Functions

run(args)

Callback implementation for c:Mix.Task.run/1.