exec method

void exec(
  1. List<String> arguments
)

Implementation

void exec(List<String> arguments) async {
  final args = parseArguments(arguments);

  final pubspecLockPath = File(args.path ?? 'pubspec.lock').readAsStringSync();
  final pubspecLock = PubspecLock.parse(pubspecLockPath);
  await _checkMarxPubspecAnalyzer.analyze(pubspecLock, args.onlyDirectDependencies);
}