mix nz.gen.entity (NoizuLabs Entities v0.2.0)

mix nz.gen.entity Repo Entity schema --sref=reference --store=ecto --id=uuid --field=field_name:type use --no-live to prevent live view generation use --no-ecto to prevent context and entity generation

Link to this section Summary

Link to this section Functions

Link to this function

context_template(options)

Link to this function

ecto_gen(options)

Link to this function

entity_template(options)

Link to this function

extract_fields(meta, options)

Link to this function

extract_id(options)

Link to this function

extract_meta(options)

Link to this function

extract_sref(options)

Link to this function

extract_stores(options)

Link to this function

gen_options(list)

Link to this function

indent(string, indent \\ " ")

Callback implementation for Mix.Task.run/1.