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

remove old command aliases (#4103)

parent 41d1a9f1
...@@ -269,8 +269,7 @@ class FlutterEngine { ...@@ -269,8 +269,7 @@ class FlutterEngine {
for (String pkgName in _getPackageDirs()) { for (String pkgName in _getPackageDirs()) {
Directory dir = new Directory(path.join(pkgDir.path, pkgName)); Directory dir = new Directory(path.join(pkgDir.path, pkgName));
if (!dir.existsSync() || allDirty) { if (!dir.existsSync() || allDirty) {
await _downloadItem('Downloading engine package $pkgName...', await _downloadItem('Downloading package $pkgName...', url + pkgName + '.zip', pkgDir);
url + pkgName + '.zip', pkgDir);
} }
} }
...@@ -288,8 +287,7 @@ class FlutterEngine { ...@@ -288,8 +287,7 @@ class FlutterEngine {
String urlPath = toolsDir[1]; String urlPath = toolsDir[1];
Directory dir = new Directory(path.join(engineDir.path, cacheDir)); Directory dir = new Directory(path.join(engineDir.path, cacheDir));
if (!dir.existsSync() || allDirty) { if (!dir.existsSync() || allDirty) {
await _downloadItem('Downloading engine tools $cacheDir...', await _downloadItem('Downloading $cacheDir tools...', url + urlPath, dir);
url + urlPath, dir);
_makeFilesExecutable(dir); _makeFilesExecutable(dir);
} }
} }
......
...@@ -41,9 +41,6 @@ class CreateCommand extends FlutterCommand { ...@@ -41,9 +41,6 @@ class CreateCommand extends FlutterCommand {
final String description = 'Create a new Flutter project.\n\n' 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.'; '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 @override
bool get requiresProjectRoot => false; bool get requiresProjectRoot => false;
......
...@@ -16,9 +16,6 @@ class DevicesCommand extends FlutterCommand { ...@@ -16,9 +16,6 @@ class DevicesCommand extends FlutterCommand {
@override @override
final String description = 'List all connected devices.'; final String description = 'List all connected devices.';
@override
final List<String> aliases = <String>['list'];
@override @override
bool get requiresProjectRoot => false; bool get requiresProjectRoot => false;
......
...@@ -45,9 +45,6 @@ class RunCommand extends RunCommandBase { ...@@ -45,9 +45,6 @@ class RunCommand extends RunCommandBase {
@override @override
final String description = 'Run your Flutter app on an attached device.'; final String description = 'Run your Flutter app on an attached device.';
@override
final List<String> aliases = <String>['start'];
RunCommand() { RunCommand() {
argParser.addFlag('full-restart', argParser.addFlag('full-restart',
defaultsTo: true, defaultsTo: true,
......
...@@ -3,8 +3,9 @@ type: flutter ...@@ -3,8 +3,9 @@ type: flutter
path: lib/main.dart path: lib/main.dart
flutter: flutter:
checked: true # Enable or disable debugging.
debug: true debug: true
# The starting route for the app.
route: route:
# Additional args for the flutter run command: # Additional args for the flutter run command.
args: 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