choosenim icon indicating copy to clipboard operation
choosenim copied to clipboard

Remove multiple nim versions at once

Open dlesnoff opened this issue 1 year ago • 0 comments

Feature request

Would it be possible to remove multiple nim versions at once - with the remove command ? Ex:

> choosenim show
1.2.10
1.4.12
1.6.8
1.6.10
1.6.12
> choosenim remove 1.6.10 1.6.8 1.4.12 1.2.10
> choosenim show
1.6.12

or:

> choosenim show
1.2.10
1.4.12
1.6.8
1.6.10
1.6.12
> choosenim remove all except 1.6.12
> choosenim show
1.6.12

and even:

> choosenim show
1.6.8
1.6.10
1.6.12
> choosenim remove 1.6.[10, 8]
> choosenim show
1.6.12

Internal Algorithm

Would this need to check that there is still at least one nim version?

dlesnoff avatar Mar 11 '23 11:03 dlesnoff