[squeak-dev] [ANN] DoItFirst command line goodie on SqueakSource
David T. Lewis
lewis at mail.msen.com
Wed Dec 9 22:05:30 UTC 2020
On Wed, Dec 09, 2020 at 11:23:37AM +0100, Marcel Taeumel wrote:
> Hi Dave.
> Thanks! Would you mind adding a page on wiki.squeak.org? :-)
Good idea, I will do this some time soon.
> Am 08.12.2020 22:20:25 schrieb David T. Lewis <lewis at mail.msen.com>:
> 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.
> 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
More information about the Squeak-dev