Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Add option to check uniqueness of values in array #437

Closed
liuxh0 opened this issue Aug 26, 2020 · 0 comments · Fixed by #462
Closed

Add option to check uniqueness of values in array #437

liuxh0 opened this issue Aug 26, 2020 · 0 comments · Fixed by #462

Comments

@liuxh0
Copy link
Contributor

liuxh0 commented Aug 26, 2020

Now that I am developing a plugin for Zowe CLI, I have the requirement that an array-typed option should have unique values. If a value appears twice, I would expect an error from Imperative. (For others maybe ignoring the repeated value makes sense.)

Currently I do not think I can achieve this using existing options. Do you think this requirement makes sense? If so, I would like to implement it. If not, we will just implement the logic in command handlers.

@t1m0thyj t1m0thyj linked a pull request Nov 16, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant