blob: 0d20bd03f6c00583508c36b57c6ae8b2e55d5451 [file] [log] [blame]
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analyzer/src/lint/util.dart' show FileSpelunker;
import 'package:args/args.dart';
/// AST Spelunker
void main(List<String> args) {
var parser = ArgParser();
var options = parser.parse(args);
for (var path in options.rest) {
FileSpelunker(path).spelunk();
}
}