6ce0dc0006
This simple first step cmdline utility launches and manages an external analysis server process. Future CLs will add dartfix specific functionality. Change-Id: Iba32177acd8ca1edd703bad78e55cd1e88edb6bd Reviewed-on: https://dart-review.googlesource.com/76320 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>
15 lines
458 B
Dart
15 lines
458 B
Dart
#!/usr/bin/env dart
|
|
// Copyright (c) 2018, 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_cli/src/fix/driver.dart';
|
|
|
|
/// The entry point for dartfix.
|
|
main(List<String> args) async {
|
|
Driver starter = new Driver();
|
|
|
|
// Wait for the starter to complete.
|
|
await starter.start(args);
|
|
}
|