pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
108 stars 46 forks source link

[CMD-Line] Launch an image by index #674

Closed PalumboN closed 4 months ago

PalumboN commented 4 months ago

Now when you list all the images there is and index as first column:

#  Name                                Architecture Pharo version Last modified      
-- ----------------------------------- ------------ ------------- -------------------
1  p11-good-value                      64           110           2024-02-14 10:24:50
2  p11-druid-primitiveAt               64           110           2024-02-12 11:49:13
3  p11-for-paper-charts-2              64           110           2024-02-08 17:40:50
4  P11-new-clean                       64           110           2024-02-08 12:35:27
....

Would be nice to be able to run an image from the index, so after listing we can do:

pl image launch 3

Instead of having to copy-paste the name of the image.

demarey commented 4 months ago

Thanks for the report. It is already part of #567. In the last version, you can do pl image launch and then select the image index :)

PalumboN commented 4 months ago

Oohhhh I just updated and tried! Lovely! 🚀