Skip to content

Generator

Gabriel Mourão edited this page Jun 14, 2019 · 2 revisions

In FastWork, we call a group of classes representing a group, or belongs to same 'group' as 'modules'.

You can generate modules classes with FastWotk Generator, example:

./bin/fastwork.sh create-module

You will be asked for whats classes you needs to create:

Inform resources to create: (comma separated)

[0] = Action
[1] = Model
[2] = GraphQL
[3] = Task

After insert resources IDs, y'll be asked for a name to your module, and if you can apply same name to all classes groups, if not, you be asked for classes you chosen one by one before create then.

Clone this wiki locally