[Cuis-dev] File in changes file on startup from command line

Juan Vuletich juan at jvuletich.org
Tue Jun 29 07:40:59 PDT 2021


On 6/29/2021 9:43 AM, Mariano Montone via Cuis-dev wrote:
> Hello,
>
> I've added an "-l" (load) command line parameter for filing in changeset
> files.
>
> "-r", and "-s" do not work for filing in that kind of files.
>
> I'm using it like this:
>
> ../sqcogspur64linuxht/squeak Cuis-Smalltalk-Dev/MetaBrowser.image -l
> MyChanges.cs.st -s ~/.cuisrc
>
> Is this new command line option necessary for my purposes? (perhaps I'm
> missing something, and the same thing can be achieved in other way.)
>
> I attach my implementation of the "load" command line option.
>
> I've just added this:
>
> [ $l ] ->  ["file in the file"
> 	{ 'File in: '. data} print.
> 	[(CodeFile newFromFile: data asFileEntry) fileIn] on: UnhandledError
> do: [:ex | ex return]].
>
> Cheers,
>
> Mariano

Cool! At GutHub now.

Thanks.

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list