v6.1.0
✨ Features
- acf9dff ✨ feat(error): suggest correct category if badge name is valid but category is not
# For example, if you forget the category but remember the badge name, you can
# enter gibberish for the [category] and then enter the badge name for the [badgeName] field.
# NOTE: If more than one of that badge exists in other categories, the one
# which is in the highest alphabetical order (A-Z) category will be used.
❯ mdb asdf discord
ERROR You have a valid badge name of 'Discord', but 'asdf' is not a valid category.
Run 'mdb social discord' to get the correct badge code.
♻️ Refactors
-
989df7e ♻️ refactor: use
@clack/prompts
for prompts- Lots of logic had to be redone for this change, however prompts look much better now!
-
c202f8f ♻️ refactor: switch to only use chalk
c
alias now uses Chalk.
🧹 Chores
📝 Documentation
- 7714dfd 📝 docs(readme): clean up slightly and update descriptions
- e364df5 ✏️ docs(contributing): fix typos
🐛 Bugfixes
-
4f1a3a6 🐛 fix(create): encode dashes within name correctly
- Previously, trying to make a badge that had a dash in the name would split the badge into two, since Shields.io registers this as left and right components respectively.
- With this fix, badges created with a dash in the name are now encoded with
--
(double dashes), and it also does not matter the amount of dashes within the name.
-
870efc6 🐛 fix(create): fix incorrect placement of cliSpinners
With this release, the website has been updated to match this version in terms of information, and the documentation has also been completely redone in most areas with updated/detailed/presentable information!