[squeak-dev] [ANN] DoItFirst command line goodie on SqueakSource

Marcel Taeumel marcel.taeumel at hpi.de
Sun Jun 14 17:30:05 UTC 2020


Hi Dave.

Thank you! Looks good.

Here are some thoughts:

- The small footprint of this is awesome!
- Since you assume that "FileDirectory startUp" can work in the case of emergency, we should move it further up in the StartUpList.
- You are likely to need full support of SmallInteger, Delay, Time, and DateAndTime -- so I suggest moving it after those classes in the StartUpList. I am writing this without looking at the current implementation of their #startUp: methods because it should not matter ... conceptionally.
- So, what about putting this into Trunk and having the following elements first in the startup list:

1. SmallInteger
2. Delay
3. Time
4. DateAndTime
5. FileDirectory
6. DoItFirst
...

Best,
Marcel
Am 14.06.2020 19:15:28 schrieb David T. Lewis <lewis at mail.msen.com>:
A few cups of coffee this morning led to some enhancements to my DoItFirst
utility, so I decided to put in on SqueakSource.

http://www.squeaksource.com/DoItFirst

It works more or less like this:

$ squeak squeak.image -- -help
DoItFirst image arguments:
-doit argumentlist "evaluate each argument as a doIt expression"
-evaluate arg "evaluate arg, 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"
-help "print this message"


Dave


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200614/338bed96/attachment.html>


More information about the Squeak-dev mailing list