openfl / lime

A foundational Haxe framework for cross-platform development
https://lime.openfl.org/
MIT License
749 stars 361 forks source link

`--args` options does not work "Error: You must have a "project.xml" file" #1746

Open T1mL3arn opened 6 months ago

T1mL3arn commented 6 months ago

run doc says --/-args ... -- Pass additional arguments at launch, but when I do lime run hl --args foo I get

You must have a "project.xml" file or specify another valid project file when using the 'run' command

My project.xml is fine since I can run/compile my project just with lime run hl.

player-03 commented 1 month ago

From the documentation, it looks like you're supposed to use either -- or -args, but not both. Have you tried lime run hl -- foo?