Jan. 20, 2011
9:42 p.m.
ohh.. well, but that is too much for a simple script. it would be good if image could provide something by default, because i don't want to repeat expressions like this in each script i write for running it in headless image. :)
Hm, you may have missed that the point of that was to _avoid_ repeating those expressions. That way, this is all your .st script has to be: CommandLineProcessor do: [ : arg1 : arg2 | "... your simple script goes here..." ] So that's not so much is it? All of the error-handling to stdout is tucked away in the image, as is the parsing of the command-line arguments. - Chris