Skip to content

Commit

Permalink
fix: add --local-web-sdk option so getBuildInfo works
Browse files Browse the repository at this point in the history
  • Loading branch information
ardera committed Jan 13, 2025
1 parent 6994bc1 commit d54e6e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/src/cli/command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ class FlutterpiToolCommandRunner extends CommandRunner<void>
abbr: 'd',
help: 'Target device id or name (prefixes allowed).',
);

argParser.addOption(
FlutterGlobalOptions.kLocalWebSDKOption,
hide: !verboseHelp,
help:
'Name of a build output within the engine out directory, if you are building Flutter locally.\n'
'Use this to select a specific version of the web sdk if you have built multiple engine targets.\n'
'This path is relative to "--local-engine-src-path" (see above).',
);
}

@override
Expand Down

0 comments on commit d54e6e6

Please sign in to comment.