Repository navigation
Open
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Track migrating packages/flutter_tools CLI flags and god-object configurations from untyped string lookups in flutter_command.dart to typed OptionDescriptor<T>, OptionBundle, and domain specification structs:
- [flutter_tools] refactor CLI argument architecture with typed option descriptors and bundles (PoC) #191018 — Introduce
OptionDescriptor<T>,OptionBundle,NullableFlagOptionDescriptor,SafeArgResults, and migratebuild web(BuildWebOptionBundle,WebBuildSpecification). - [flutter_tools] migrate getBuildInfo() to typed OptionDescriptors and BuildInfoOptionsBundle #191510 — Migrate
FlutterCommand.getBuildInfo()string andcontainsKeylookups toBuildInfoOptionsandBuildInfoOptionsBundle. - [flutter_tools] add typed enum and defaulted option descriptors #191760 — Add
EnumOptionDescriptor<T>,DefaultedEnumOptionDescriptor<T>, andDefaultedStringOptionDescriptorwithCliEnumsupport; migrateWebOptions.pwaStrategyandCommonOptions.target. - Refactor createDebuggingOptions and option registrations to OptionDescriptor #192307 — Migrate
createDebuggingOptions(),usesWebOptions,addDdsOptions, andaddDevToolsOptionstoDebuggingOptionDescriptorsandWebOptionswith anExpandoparser registry. - feat(flutter_tools): add IntOptionDescriptor and DefaultedIntOptionDescriptor #192455 — Add
IntOptionDescriptorandDefaultedIntOptionDescriptor; migrate--dds-port,--web-port, and--web-browser-debug-port. - feat(flutter_tools): migrate Android build commands to typed options #192524 — Add
AndroidGradleOptionsBundleandAndroidBuildOptionsBundle; migratebuild apk,build appbundle, andbuild aar. - feat(flutter_tools): migrate Apple build commands to typed options #192818 — Add
AppleBuildOptionsBundleandDarwinCodeSignXCFrameworksOptionsBundle; migratebuild ios,build ipa,build macos,build ios-framework,build macos-framework, andbuild swift-package. - feat(flutter_tools): migrate Desktop build commands to typed options #193323 — Add
DesktopBuildOptionsBundle; migratebuild linuxandbuild windows. - feat(flutter_tools): introduce Test and Drive specification objects #194017 — Introduce
TestExecutionSpecification,TestFilterSpecification, andDriveTestSpecificationforFlutterTestRunner.runTestsandDriverService.startTest. - feat(flutter_tools): extract AndroidGradleConfig and move toGradleConfig to AndroidBuildInfo #194016 — Extract
AndroidGradleConfigfromBuildInfoand movetoGradleConfig()toAndroidBuildInfo. - feat(flutter_tools): extract WebDebugConfig from DebuggingOptions #194312 — Extract
WebDebugConfigfromDebuggingOptions. - refactor(flutter_tools): share FlutterCommand options and OptionBundles #194356 — Share
FlutterCommandoption descriptors and addDeviceDiscoveryOptionsBundle,FilesystemOptionsBundle,VmServicePortOptionsBundle,DdsAndDevToolsOptionsBundle,ResidentCompilerOptionsBundle, andEngineRenderingFlagsBundle. - refactor(flutter_tools): migrate AssembleCommand to OptionDescriptor #194358 — Migrate
AssembleCommandto declarative option descriptors and bundles. - refactor(flutter_tools): migrate AttachCommand to OptionDescriptor and OptionBundle #194359 — Migrate
AttachCommandto declarative option descriptors and bundles. - refactor(flutter_tools): finish DriveCommand OptionDescriptor migration #194360 — Finish
DriveCommandoption descriptor migration. - refactor(flutter_tools): finish TestCommand OptionDescriptor and OptionBundle migration #194361 — Finish
TestCommandoption descriptor and bundle migration. - refactor(flutter_tools): migrate RunCommand and RunCommandBase to OptionDescriptor and OptionBundle #194362 — Migrate
RunCommandandRunCommandBaseto declarative option descriptors and bundles. - refactor(flutter_tools): remove legacy uses*/add* option registration helpers from FlutterCommand #194521 — Remove legacy
uses*/add*option registration helpers fromFlutterCommand. - (Planned) Replace
packages/flutter_tools/lib/src/runner/options/with upstreampackage:args/typed.dartonce published (draft PR: [args] Add core OptionDescriptor types and ArgResults lookup (1/3) dart-lang/core#1012).
Metadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
refactor(flutter_tools): share FlutterCommand options and OptionBundl…
refactor(flutter_tools): migrate AssembleCommand to OptionDescriptor (f…
refactor(flutter_tools): migrate AttachCommand to OptionDescriptor an…
refactor(flutter_tools): finish DriveCommand OptionDescriptor migrati…
refactor(flutter_tools): finish TestCommand OptionDescriptor and Opti…
refactor(flutter_tools): migrate RunCommand and RunCommandBase to Opt…
refactor(flutter_tools): remove legacy uses*/add* option registration…
refactor(flutter_tools): share FlutterCommand options and OptionBundl…
refactor(flutter_tools): migrate AssembleCommand to OptionDescriptor (f…
refactor(flutter_tools): migrate AttachCommand to OptionDescriptor an…
refactor(flutter_tools): finish DriveCommand OptionDescriptor migrati…
refactor(flutter_tools): finish TestCommand OptionDescriptor and Opti…
refactor(flutter_tools): migrate RunCommand and RunCommandBase to Opt…
refactor(flutter_tools): remove legacy uses*/add* option registration…
refactor(flutter_tools): unify OptionDescriptor identity and addTo (f…