Flutter attach (#18677)

Add `flutter attach` command.

This command allows Flutter to connect to applications that haven't been launched using `flutter run`.
This commit is contained in:
Florian Loitsch
2018-06-25 15:33:42 +02:00
committed by GitHub
parent 5fbec7b812
commit d248725e15
6 changed files with 339 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import 'dart:async';
import 'runner.dart' as runner;
import 'src/commands/analyze.dart';
import 'src/commands/attach.dart';
import 'src/commands/build.dart';
import 'src/commands/channel.dart';
import 'src/commands/clean.dart';
@@ -48,6 +49,7 @@ Future<Null> main(List<String> args) async {
await runner.run(args, <FlutterCommand>[
new AnalyzeCommand(verboseHelp: verboseHelp),
new AttachCommand(verboseHelp: verboseHelp),
new BuildCommand(verboseHelp: verboseHelp),
new ChannelCommand(verboseHelp: verboseHelp),
new CleanCommand(),