This pull request introduces a new model brick for our Bond CLI.
Features
The new model brick provides an efficient way to generate model classes.
It supports optional generation of JSON serialization methods using json_serializable.
It supports optional generation of copyWith methods.
Changes
Added a brick.yaml file that defines the model brick and its variables.
Created a template for generating model classes.
Added a README.md file with instructions on how to use the model brick.
Usage
To create a new model, use the command mason make model --name <model_name>.
To include JSON serialization, use the --j true option.
To include a copyWith method, use the --c true option.
This is a step towards making our CLI tool more powerful and efficient, and helping developers save time when creating new features. Looking forward to your feedback!
This pull request introduces a new
model
brick for our Bond CLI.Features
model
brick provides an efficient way to generate model classes.json_serializable
.copyWith
methods.Changes
brick.yaml
file that defines themodel
brick and its variables.README.md
file with instructions on how to use themodel
brick.Usage
mason make model --name <model_name>
.--j true
option.copyWith
method, use the--c true
option.This is a step towards making our CLI tool more powerful and efficient, and helping developers save time when creating new features. Looking forward to your feedback!