-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.dart-cli-runIssues related to 'dart run'Issues related to 'dart run'type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Dart doesn't handle commandline arguments for "dart run" command, like flutter does, for example:
flutter run -d windows --debug -a debugging
void main(List<String> args) {
bool isDebugging = args.contains('debugging') ? true : false;
}My new feature request is for "dart run" to handle the custom commanline arguments like "dart file.dart myArgument"
and "dart run file.dart myArgument" do, or optionally like flutter does.
OnkelTem
Metadata
Metadata
Assignees
Labels
area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.dart-cli-runIssues related to 'dart run'Issues related to 'dart run'type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug