cli icon indicating copy to clipboard operation
cli copied to clipboard

feature request: add `exercism update` command

Open glennj opened this issue 4 years ago • 4 comments

referencing #802

Instead of having to navigate to the exercise and click the "This exercise has been updated" banner then click the Update button, can we get a cli subcommand to do it?

exercism update --track=track --exercise=slug

And/or, a new option for the download command:

exercism download --track=track --exercise=slug --update

that would apply any updates prior to downloading.

glennj avatar Sep 07 '21 16:09 glennj

Hmm, perhaps update is too similar to upgrade, or too similar for people familiar with apt. But I can't think of a better name at the moment.

glennj avatar Sep 07 '21 16:09 glennj

--use-the-force-luke

update makes sense to me tho.

SleeplessByte avatar Sep 07 '21 20:09 SleeplessByte

+1 for an option to update the exercise without overwriting student solution. Until then, I'm using the following shell script (rename to .sh) for haskell track.

update.txt

asarkar avatar Dec 24 '22 21:12 asarkar

Hmm, perhaps update is too similar to upgrade, or too similar for people familiar with apt. But I can't think of a better name at the moment.

I thought of using --sync because what I really would like to have my local exercises updated with whatever I change on the web editor.

arlm avatar Nov 24 '23 09:11 arlm