-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add command to check uuid pattern #6
Comments
mind if i take this one @samit22? can either validate using regex (slower) or through https://godoc.org/github.com/google/uuid#Parse (add dependency). thoughts? |
Sure @norbinsh, I would say regex. Less dependency. |
Sounds good. Could you please confirm I am aligned with the intent here: We want to add a new command, which the user will have to provide input to (the UUID to check), and it will return true/false depending on whether there was a match. The below will return true While the below will return false |
We can use the same pattern.
Yeah, that's right, I'm also thinking to add support for multiple arguments and return true false for each, I leave that up to you. |
Fixed by #12 |
Command: uuid check
This should check UUID pattern and return valid/invalid.
The text was updated successfully, but these errors were encountered: