remove old command aliases (#4103)

This commit is contained in:
Devon Carew
2016-05-23 12:06:49 -07:00
parent 41d1a9f1da
commit 4962656b1d
5 changed files with 5 additions and 15 deletions

View File

@@ -269,8 +269,7 @@ class FlutterEngine {
for (String pkgName in _getPackageDirs()) {
Directory dir = new Directory(path.join(pkgDir.path, pkgName));
if (!dir.existsSync() || allDirty) {
await _downloadItem('Downloading engine package $pkgName...',
url + pkgName + '.zip', pkgDir);
await _downloadItem('Downloading package $pkgName...', url + pkgName + '.zip', pkgDir);
}
}
@@ -288,8 +287,7 @@ class FlutterEngine {
String urlPath = toolsDir[1];
Directory dir = new Directory(path.join(engineDir.path, cacheDir));
if (!dir.existsSync() || allDirty) {
await _downloadItem('Downloading engine tools $cacheDir...',
url + urlPath, dir);
await _downloadItem('Downloading $cacheDir tools...', url + urlPath, dir);
_makeFilesExecutable(dir);
}
}

View File

@@ -41,9 +41,6 @@ class CreateCommand extends FlutterCommand {
final String description = 'Create a new Flutter project.\n\n'
'If run on a project that already exists, this will repair the project, recreating any files that are missing.';
@override
final List<String> aliases = <String>['init'];
@override
bool get requiresProjectRoot => false;

View File

@@ -16,9 +16,6 @@ class DevicesCommand extends FlutterCommand {
@override
final String description = 'List all connected devices.';
@override
final List<String> aliases = <String>['list'];
@override
bool get requiresProjectRoot => false;

View File

@@ -45,9 +45,6 @@ class RunCommand extends RunCommandBase {
@override
final String description = 'Run your Flutter app on an attached device.';
@override
final List<String> aliases = <String>['start'];
RunCommand() {
argParser.addFlag('full-restart',
defaultsTo: true,

View File

@@ -3,8 +3,9 @@ type: flutter
path: lib/main.dart
flutter:
checked: true
# Enable or disable debugging.
debug: true
# The starting route for the app.
route:
# Additional args for the flutter run command:
# Additional args for the flutter run command.
args: