delete system image should allow deletion of images by list index. This is a "quality of life" change that can be implemented in a way that is still explicit, and will increase the speed of image deletion when free space is needed on systems that have long and similar image names.
I propose a splitting of the delete system image command into something along the lines of:
delete system image index <index>
delete system image name <name>
The new delete system image index command should be explicit about what image is being deleted, and the target image's relevance to other images in the system image list.
Here is a mock up of what I think the command's execution should look like:
rt01:~$ delete system image index 4 You have selected the following image for deletion: 1: 1.2.0-rolling+201805021450 (default boot) 2: 1.2.0-rolling+201804240337 3: 1.2.0-rolling+201804201711 >>4: 1.2.0-rolling+201804190337 5: 1.2.0-rolling+201804100337 6: 999.201802250337 7: 999.201802070337 Are you sure you want to delete the "1.2.0-rolling+201804190337" image? (Yes/No) [No]
Tab completion should look similar to the current delete system image command, but with the indices present, and in proper order.
rt01:~$ delete system image index Possible completions: <Enter> Execute the current command 1: 1.2.0-rolling+201805021450 (default boot) Index of image image to delete 2: 1.2.0-rolling+201804240337 3: 1.2.0-rolling+201804201711 4: 1.2.0-rolling+201804190337 5: 1.2.0-rolling+201804100337 6: 999.201802250337 7: 999.201802070337