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

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

Summary

Functions

context_template(options)

dedent(string)

ecto_gen(options)

entity_template(options)

extract_fields(meta, options)

extract_id(options)

extract_meta(options)

extract_sref(options)

extract_stores(options)

gen_options(list)

indent(string, indent \\ " ")

run(args)

Callback implementation for Mix.Task.run/1.

usage()