ddworken / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Command line arguments when launch a script. #142

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to run my script with specify arguments, and I can't do this in
current ASE.

Original issue reported on code.google.com by qsp...@gmail.com on 27 Nov 2009 at 6:47

GoogleCodeExporter commented 9 years ago
Currently, the way to do this is to have your script prompt for the values 
you'd like 
to specify. You can use getInput or the usual terminal input methods.

It would be nice to be able to specify them on the command line though for 
things like 
Locale.

Original comment by damonkoh...@gmail.com on 30 Nov 2009 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 30 Nov 2009 at 8:57

GoogleCodeExporter commented 9 years ago
one thing you might try is using a YAML or JSON file intermediate to pass 
structured
arguments between apps.  Most of the languages, including Python, can handle 
these.

Original comment by dml...@gmail.com on 1 Dec 2009 at 4:55