links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 11:22 am UTC on 29 April 2019
Does this example introduced in 2005 still work in Squeak 5.2?

Class comment

CommandLineLauncherExample provides an example for a command line application.
If you start squeak with a command line 'class Integer' it will launch a class browser on class Integer.
To enable this execute

 CommandLineLauncherExample activate

before you save the image.

To disable execute
 CommandLineLauncherExample deactivate

The only method of this class

	| className |
	className := self parameterAt: 'class'.
	ToolSet browse: (Smalltalk at: className asSymbol ifAbsent: [Object]) selector: nil

cf Image Command Line Options