I found one (possibly old and false), which claimed that it was impossible to run a small sample script from the command line. Something has changed since then, and is it possible to run a small-scale script from the command line? I have done a lot of Google searches, and I have not got any information about this topic at all.
Is there a way to save a Smalltalk script (such as this one) as a file, and then run the script from the command line?
Transcript shows: 'It should be printed on standard output.' PrintString; Million
Gentle command line support and a simple script to install it:
curl get.pharo.org | Bash ./pharo Pharo.image --help ./pharo Pharo.image eval "1 + 2" We use these tools on our regular basis.
The new command line handle can be easily installed by sub-closing. You will get a partial document.
has more complex interfaces and supports complex parameter parsing. The default command line to be sent with Pharo follows rather a simplified approach and you have to manually examine and process the parameters.
No comments:
Post a Comment