AbsintheGen v0.1.2 mix absinthe.gen.scaffold View Source
Will generate a scaffold consisting of a schema, type and resolver files. Multiple fields are accepted.
Example:
mix absinthe.gen.scaffold my_context my_type my_field:string my_other_field:string
Created:
lib/absinthe_app_web/schema/my_context_types.ex
lib/absinthe_app_web/schema.ex
lib/absinthe_app_web/resolvers/my_type.ex
Link to this section Summary
Link to this section Functions
A task needs to implement run which receives
a list of command line args.
Callback implementation for Mix.Task.run/1.