v12.0.0
Breaking
- Require Node.js 16 (#235) 24d5e9c
- Rename
alias
flag option toshortFlag
(#225) 14e870d- Short flag is a more correct term for what
alias
was previously used for. We now have a separatealiases
option for actual aliases.
- Short flag is a more correct term for what
- As a reminder, Meow continues to require ESM. For TypeScript users, this includes having
"module": "node16", "moduleResolution": "node16"
in your tsconfig.
Improvements
- Add
aliases
flag option (#226) 901b9fc - Add
choices
flag option (#228) 149d7af - Add error when
flag.default
isn't a valid choice (#231) b2d7ce7 - Don't indent single line
help
/description
text (#232) a5d15e8
Thanks to @tommy-mitchell for doing most of the work on this release 🙌