Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move command should not swap #86

Open
sherry-ummen-zalando opened this issue Aug 29, 2023 · 1 comment
Open

Move command should not swap #86

sherry-ummen-zalando opened this issue Aug 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@sherry-ummen-zalando
Copy link

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 :)

@guedesfelipe
Copy link
Owner

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 guedesfelipe added the enhancement New feature or request label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants