tim Rowledge uploaded a new version of CommandLine to project The Trunk:
http://source.squeak.org/trunk/CommandLine-tpr.9.mcz==================== Summary ====================
Name: CommandLine-tpr.9
Author: tpr
Time: 27 November 2017, 4:19:28.477888 pm
UUID: d691df70-b8c1-4a0b-9ec1-0976b33fe9ab
Ancestors: CommandLine-mt.8
Add convenience method to save files via UIManager
=============== Diff against CommandLine-mt.8 ===============
Item was added:
+ ----- Method: DummyUIManager>>saveFilenameRequest:initialAnswer: (in category 'ui requests') -----
+ saveFilenameRequest: queryString initialAnswer: defaultAnswer
+ "Open a FileSaverDialog to ask for a place and filename to use for saving a file. The initial suggestion for the filename is defaultAnswer but the user may choose any existing file or type in a new name entirely"
+
+ (ProvideAnswerNotification signal: queryString)
+ ifNotNil: [:answer |
+ ^ answer == #default ifTrue: [defaultAnswer] ifFalse: [answer]].
+
+ self error: 'No user response possible'!