Sikuli IDE should be able to deal with command line arguments.
If we write a script to be run from a command line and use line arguments in the script, it becomes hard to use the IDE to debug it because we don't have any arguments available. It should be great to parametrize some before running a script from the IDE.
--- RaiMan's comment
In other IDEs like Eclipse, NetBeans or even the run support of JEdit, you have dialog box, where you can fill in run options and (additional) command line parameters.
So the IDE should have an addition "Run with option", that comes up with a dialog to fill in run time options and a text field for command line parameters, to be filled in sys.argv. Optional this set of settings can be named (default script name), to recall it later on from a drop down (saved in the preferences storage).
--- poor man's (RaiMan's ;-) workaround
make a def (might be imported) and run it at the beginning of the script
- sys.argv empty? yes, we are in IDE
- input("pls enter parameters")
- fill return into sys.argv
- store in Settings.parameters to make it persistent
so the rest of the script can run as if called from command line