addSyncFlag method

  1. @visibleForTesting
void addSyncFlag()

adds the sync flag to validate the brick.yaml file

Implementation

@visibleForTesting
void addSyncFlag() {
  addFlag(
    'sync',
    abbr: 's',
    help: 'Verifies that the brick.yaml file '
        'is synced with the brick_oven.yaml file.\n'
        'Only works if the `brick_config` key '
        'is set in the brick_oven.yaml file.',
    defaultsTo: true,
  );
}