Commit 4962656b authored by Devon Carew's avatar Devon Carew

remove old command aliases (#4103)

parent 41d1a9f1
......@@ -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);
}
}
......
......@@ -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;
......
......@@ -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;
......
......@@ -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,
......
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment