diff --git a/tool/lib/commands/serve.dart b/tool/lib/commands/serve.dart index cab95753e50..cc38a3c8f17 100644 --- a/tool/lib/commands/serve.dart +++ b/tool/lib/commands/serve.dart @@ -53,6 +53,11 @@ class ServeCommand extends Command { help: 'Whether to build the DevTools app in release mode before starting ' 'the DevTools server.', + ) + ..addFlag( + 'machine', + negatable: false, + help: 'Sets output format to JSON for consumption in tools.', ); }