configure brick yaml
This commit is contained in:
parent
8a7b47fcb3
commit
7fa6f99ad7
@ -1,28 +1,25 @@
|
||||
name: wyatt_feature_brick
|
||||
description: A new brick created with the Mason CLI.
|
||||
description: new feature brick including state mananement
|
||||
|
||||
# The following defines the version and build number for your brick.
|
||||
# A version number is three numbers separated by dots, like 1.2.34
|
||||
# followed by an optional build number (separated by a +).
|
||||
version: 0.1.0+1
|
||||
|
||||
# The following defines the environment for the current brick.
|
||||
# It includes the version of mason that the brick requires.
|
||||
environment:
|
||||
mason: ">=0.1.0-dev.26 <0.1.0"
|
||||
|
||||
# Variables specify dynamic values that your brick depends on.
|
||||
# Zero or more variables can be specified for a given brick.
|
||||
# Each variable has:
|
||||
# * a type (string, number, boolean, enum, or array)
|
||||
# * an optional short description
|
||||
# * an optional default value
|
||||
# * an optional list of default values (array only)
|
||||
# * an optional prompt phrase used when asking for the variable
|
||||
# * a list of values (enums only)
|
||||
vars:
|
||||
name:
|
||||
feature_name:
|
||||
type: string
|
||||
description: Your name
|
||||
description: Name of the feature
|
||||
default: Dash
|
||||
prompt: What is your name?
|
||||
prompt: What is the name of your new feature
|
||||
state_management:
|
||||
type: enum
|
||||
default: cubit
|
||||
description: The features state management
|
||||
prompt: What is the feature state management?
|
||||
values:
|
||||
- bloc
|
||||
- cubit
|
||||
- provider
|
||||
- riverpod
|
||||
- none
|
||||
|
Loading…
x
Reference in New Issue
Block a user