Skip to content

[cmd-line] support image number directly as 'launch' parameter #709

Open
@PalumboN

Description

@PalumboN

Currently, you can execute

pl image launch

It will list all the images on your system and you can choose one by "image number" (index):

Select the image number:  1
Launching image with command: "bash -c 'cd "/Users/palumbon/Documents/Pharo/images/p13-sprint-mar" && "/Users/palumbon/Documents/Pharo/vms/130-x64/Pharo.app/Contents/MacOS/Pharo" "/Users/palumbon/Documents/Pharo/images/p13-sprint-mar/p13-sprint-mar.image"'".

I love it, because I don't have to write the full image name (without autocomplete is a bit hard to do).

It would be nice to select the image directly in the command, and not wait to list them and then select. For example:

pl image launch 1

The launch command can check if the parameter is a number, then search the image by "image number", else by name.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions