pls-cli icon indicating copy to clipboard operation
pls-cli copied to clipboard

Move command should not swap

Open sherry-ummen-zalando opened this issue 1 year ago • 1 comments

Hi,

Currently when using move command example move 7 1. It does a swap. But what I am looking for something like insert operation which inserts the element to that index and then reorders the below items . I did not find a way around for this. Do you think its possible or should we have a new options say insert ?

Thank you :)

sherry-ummen-zalando avatar Aug 29 '23 15:08 sherry-ummen-zalando

Hi 😃

We currently don't have this functionality ☹

But I think it's interesting in the insert command to be able to pass the index, otherwise it inserts in the last position. If you have a very large list and need to modify the chain order, you can directly manipulate the configuration file. PR for this feature is welcome, feel free to contribute to the project 🚀

guedesfelipe avatar Sep 10 '23 15:09 guedesfelipe