[squeak-dev] [ANN] DoItFirst command line goodie on SqueakSource
David T. Lewis
lewis at mail.msen.com
Tue Dec 8 21:20:14 UTC 2020
On Sat, Dec 05, 2020 at 09:33:26AM +0100, Fabio Niephaus wrote:
> This is great! +1 for adding this to trunk, leaving the when to Dave.
>
Done.
To see available command line options on a unix-like system:
$ squeak squeak.image -- -h
DoItFirst image arguments:
--doit argumentlist "evaluate each argument as a doIt expression"
--evaluate arg "evaluate arg, print result then exit"
--file filename "evaluate contents of filename, print result then exit"
--filein filelist "file in each file named in fileList"
--cwd path "set FileDirectory defaultDirectory to path prior to evaluating other options"
--debug "enter a debugger as soon as possible in the startUp processing"
--help "print this message"
some arguments have single character synonyms, -f is a synonym for --file, -d for --doit
single '-' may be used instead of '--', -help is interpreted as --help
Dave
More information about the Squeak-dev
mailing list
|