Mix.Tasks.Phoenix.Gen.Channel
Generates a Phoenix channel.
mix phoenix.gen.channel Room rooms
The first argument is the module name for the channel. The second argument is the plural used as the topic.
The generated model will contain:
- a channel in web/channels
- a channel_test in test/channels
Summary↑
run(args) | Callback implementation of |
Functions
Callback implementation of Mix.Task.run/1
.