-
Notifications
You must be signed in to change notification settings - Fork 6
/
brick.yaml
32 lines (27 loc) · 1.13 KB
/
brick.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Name and description of the brick
name: clean_architecture_feature
description: A building block to easily create feature folders using the Clean Architecture approach.
repository: https://github.com/jigarfumakiya/clean_architecture_feature
# Version and build number of the brick
version: 0.0.3
# Environment requirements for the brick
environment:
mason: ">=0.1.0-dev.40 <0.1.0"
# Variables for the brick that can be dynamically configured
vars:
# Feature name variable
feature_name:
type: string
description: "The name of the feature, used for naming the folder, files, and widget."
prompt: "What would you like to name your feature?"
# Use BLoC variable
use_bloc:
type: boolean
description: "Specifies whether the feature should use BLoC for state management."
prompt: "Would you like to implement Bloc state management for this feature?"
# Test directory variable
test_dir:
type: boolean
default: false
description: "Specifies whether a test directory structure including subfolders and files should be created."
prompt: "Would you like to create a feature folder in the test directory?"