mix hexagen.gen.context (hexagen v0.1.5)

Copy Markdown View Source

Generates a hexagonal structure: Domain, Application (Ports/Use Cases), and Infrastructure (Adapters).

mix hexagen.gen.context Accounts User users name:string age:integer

The first argument is the context name (e.g. Accounts). The second argument is the schema name (e.g. User). The third argument is the plural name (e.g. users). The remaining arguments are the schema fields.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.