implement flutter packages get/upgrade command (#5603)
* implement flutter packages get/upgrade command * alias flutter pub * refactor findProjectRoot for use by multiple commands fixes https://github.com/flutter/flutter/issues/4994
This commit is contained in:
@@ -25,6 +25,7 @@ import 'src/commands/install.dart';
|
||||
import 'src/commands/listen.dart';
|
||||
import 'src/commands/logs.dart';
|
||||
import 'src/commands/setup.dart';
|
||||
import 'src/commands/packages.dart';
|
||||
import 'src/commands/precache.dart';
|
||||
import 'src/commands/refresh.dart';
|
||||
import 'src/commands/run.dart';
|
||||
@@ -68,6 +69,7 @@ Future<Null> main(List<String> args) async {
|
||||
..addCommand(new InstallCommand())
|
||||
..addCommand(new ListenCommand())
|
||||
..addCommand(new LogsCommand())
|
||||
..addCommand(new PackagesCommand())
|
||||
..addCommand(new PrecacheCommand())
|
||||
..addCommand(new RefreshCommand())
|
||||
..addCommand(new RunCommand())
|
||||
|
||||
Reference in New Issue
Block a user