mix bonfire.gen.component (Bonfire v1.0.0-social-rc.1.19)

View Source

just mix bonfire.gen.component stateless Bonfire.MyUIExtension MyComponent or just mix bonfire.gen.component stateful Bonfire.MyUIExtension MyComponent

will present you with a diff and create new files

Summary

Functions

gen_component(igniter, extension, module_name, state)

igniter(igniter)

Callback implementation for Igniter.Mix.Task.igniter/1.

igniter_with_argv(igniter, argv)