exec method
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);
}