run method
Runs this command.
The return value is wrapped in a Future if necessary and returned by
CommandRunner.runCommand.
Implementation
@override
void run() async {
try {
if (!_validateInputs()) return;
final config = _prepareConfiguration();
await _executeAnalysis(config);
_reportSuccess();
} catch (e) {
StatusHelper.failed('Analysis failed: ${e.toString()}',
suggestion:
'Check your morpheme.yaml configuration and ensure Flutter analyzer is available',
examples: ['morpheme doctor', 'flutter doctor']);
}
}