exercism / configlet

The official tool for managing Exercism language track repositories.
https://exercism.org/docs/building/configlet
GNU Affero General Public License v3.0
20 stars 14 forks source link

[configlet create] Give a warning if invalid practice exercise slug is passed in #860

Open BNAndras opened 6 months ago

BNAndras commented 6 months ago

Configlet create --practice-exercise <slug> should warn the user if the passed slug isn't present in problem-specifications. On the SQLite track, we just had a PR get merged where the author had a typo in the slug name from using configlet create. It'd be helpful if configlet create reminded users to update the name in the track's config.json. Currently, it's just the slug name, and I already made the mistake of not fixing the exercise title on a PR I made elsewhere.