exercism / exercism/cli

Add a means to reset an exercise to the current state (source and tests)

未关闭
#927 7 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
1.4k
派生
363
平均合并
6 天 13 小时
30 天内合并 PR
2

描述

A had a student recently who asked this question:

> I've been [stuck] on this exercise because I don't know how the original exercise looked like to change the names accordingly.
>
> Please how can I get the original exercise without my modifications? I want to start from scratch but can't get the exercise.

Sometimes the student gets themselves so stuck that they cannot really continue without being able to restart. It would be ideal if I could have them do something like this:

```sh
$ exercism reset --exercise=some-exercise --track=java
```

It can either clear out the existing directories or just copy over the files that are templates / tests. The point is to give the student a fresh start on the exercise!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。