runCommand static method

Future<int> runCommand({
  1. required String unknownCommand,
  2. required Logger logger,
  3. required String helpHint,
})

Implementation

static Future<int> runCommand({
  required String unknownCommand,
  required Logger logger,
  required String helpHint,
}) async {
  logger.log('Unknown command: $unknownCommand', level: 'error');
  logger.log('Use `mono $helpHint`', level: 'error');
  return 1;
}