runFormat method
Runs dart format on the generated feature directory.
Scoped to featureName so only generated files are touched.
Implementation
Future<void> runFormat({required String featureName, required String workingDirectory}) async {
await _runCommand('dart', [
'format',
'lib/features/$featureName',
], workingDirectory: workingDirectory);
}