doctor.dart 519 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:async';

7
import '../doctor.dart';
8 9 10
import '../runner/flutter_command.dart';

class DoctorCommand extends FlutterCommand {
11
  @override
12
  final String name = 'doctor';
13 14

  @override
15
  final String description = 'Show information about the installed tooling.';
16

17
  @override
18
  Future<Null> runCommand() async {
19
    await doctor.diagnose();
20 21
  }
}