rails / thor

Thor is a toolkit for building powerful command-line interfaces.
http://whatisthor.com/
MIT License
5.11k stars 552 forks source link

Check if `type: array` values are in `enum` #784

Closed movermeyer closed 1 year ago

movermeyer commented 2 years ago

🌈

What are you trying to accomplish?

Fixes #783

What approach did you choose and why?

Extending the pattern done for type: string and type: numeric.

What should reviewers focus on?

🤷

The impact of these changes

enum validation will be done for type: array option values.