-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
create: New command to set up a new exercise/approach/etc #675
Comments
Or maybe |
I don't have an opinion on the name yet, but we might also consider |
I don't feel strongly about any of the names; I think they all describe what we want well, and with the I have a slight preference for using a verb-like name, since |
@kytrinyx So |
@ErikSchierboom Yeah, I would prefer |
Okay. Let's go with |
Possible design:
where, trying to be similar to
Thoughts? |
This looks excellent. I like the parallel structure to For a practice exercise, would we then call |
We'd have to think a bit, but maybe something like:
It seems like it might be nice to automatically add docs and tests too, and for |
I'm also leaning towards leaving |
Should
|
I'm leaning towards "no" at the moment. I've been doing some work on language-agnostic generators lately, and my sense is that we'd be better served by incrementally tweaking I might change my mind down the line, but at the moment generators are a bit murky and messy, so I don't want to jump the gun and have |
I was leaning that way too. I think otherwise we'd want a spec for generators, possibly with some configuration in the track |
I'd also prefer configlet to be generator agnostic. |
From the perspective of someone using configlet to help bootstrap a track, it would be helpful to have a command that takes the
--exercise
argument and assumes that you have not done anything yet to start working on that exercise.Maybe
configlet init --exercise two-fer
orconfiglet bootstrap --type practice --exercise two-fer
or something like that.It would do something like:
config.json
with all the required keys.--exercise
metadata.toml
(if it's a practice exercise and exists in problem-specifications) or by making a guess based on the slug (e.g.sugar-fish
would transform toSugar Fish
).[y]/[n]/[s]
individually?This is a follow-up from exercism/problem-specifications#2122 (comment)
The text was updated successfully, but these errors were encountered: