wyatt-bricks/tools/brick_generator

A sample command-line application to generate which allows to generate the template of a brick from a project which compiles. with an entrypoint in bin/, library code in lib/.

How to use

  • Add your app in apps.
  • Add brick_config.yaml in you app folder and add this fields :
brick_name: wyatt_feature_brick
project_name: projet_name

path_to_brickify: lib/feature_brick_test_folder

syntax:
  camel_case: featureBrick
  constant_case: FEATURE_BRICK
  dot_case: feature.brick
  header_case: Feature-Brick
  lower_case: feature brick
  pascal_case: FeatureBrick
  param_case: feature-brick
  sentence_case: Feature brick
  snake_case: feature_brick
  title_case: Feature Brick
  upper_case: FEATURE BRICK

then run command with project path

dart tools/brick_generator/bin/brick_generator.dart ./apps/wyatt_feature_brick

TODO

  • Work on bool variables