Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command.

This commit is contained in:
Ian Fischer
2015-09-24 11:13:20 -07:00
parent a49120c667
commit cae053c353
11 changed files with 221 additions and 357 deletions

View File

@@ -2,15 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/args.dart';
import 'package:mockito/mockito.dart';
import 'package:sky_tools/src/device.dart';
class MockArgResults extends Mock implements ArgResults {
@override
dynamic noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockAndroidDevice extends Mock implements AndroidDevice {
@override
dynamic noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);