@@ -66,12 +66,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
6666 help: 'A file to write the attached vmservice uri to after an'
6767 ' application is started.' ,
6868 valueHelp: 'project/example/out.txt'
69- )
70- ..addFlag ('disable-service-auth-codes' ,
71- negatable: false ,
72- hide: ! verboseHelp,
73- help: 'No longer require an authentication code to connect to the VM '
74- 'service (not recommended).' );
69+ );
7570 usesWebOptions (hide: ! verboseHelp);
7671 usesTargetOption ();
7772 usesPortOptions ();
@@ -80,14 +75,13 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
8075 usesTrackWidgetCreation (verboseHelp: verboseHelp);
8176 addNullSafetyModeOptions (hide: ! verboseHelp);
8277 usesDeviceUserOption ();
83- addDdsOptions (verboseHelp: verboseHelp);
8478 }
8579
8680 bool get traceStartup => boolArg ('trace-startup' );
8781 bool get cacheSkSL => boolArg ('cache-sksl' );
8882 bool get dumpSkpOnShaderCompilation => boolArg ('dump-skp-on-shader-compilation' );
8983 bool get purgePersistentCache => boolArg ('purge-persistent-cache' );
90- bool get disableServiceAuthCodes => boolArg ( 'disable-service-auth-codes' );
84+
9185 String get route => stringArg ('route' );
9286}
9387
@@ -211,6 +205,11 @@ class RunCommand extends RunCommandBase {
211205 'results out to "refresh_benchmark.json", and exit. This flag is '
212206 'intended for use in generating automated flutter benchmarks.' ,
213207 )
208+ ..addFlag ('disable-service-auth-codes' ,
209+ negatable: false ,
210+ hide: ! verboseHelp,
211+ help: 'No longer require an authentication code to connect to the VM '
212+ 'service (not recommended).' )
214213 ..addFlag ('web-initialize-platform' ,
215214 negatable: true ,
216215 defaultsTo: true ,
@@ -227,6 +226,7 @@ class RunCommand extends RunCommandBase {
227226 'Currently this is only supported on Android devices. This option '
228227 'cannot be paired with --use-application-binary.'
229228 );
229+ addDdsOptions (verboseHelp: verboseHelp);
230230 }
231231
232232 @override
0 commit comments