Skip to content

feature request: add a exercism restart command #1018

Open

Description

@meleu

description

Add a command to "revert to exercise start".

Just like in the Web UI:
image

My first thought is an use like this:

exercism restart --exercise=freelancer-rates --track=javascript

Maybe ask for a confirmation before getting rid of user's files (and --force option to not ask for confirmation).

use case

I downloaded an exercise a few days ago but only worked on it today and submitted my solution.

After that I went to the Web UI and noticed the exercise was updated (the requirements/functions to be implemented were changed).

I wanted to get the default boilerplate to restart the exercise from scratch and wasn't able to get it via CLI.

(fortunately @SleeplessByte showed to me how to do it via web UI ❤️)

Activity

  1. meleu commented on Dec 24, 2021

    @meleu
    Author

    I've just noticed that the kind of issue I'm trying to solve in this request is related to these ones:

  2. pedreviljoen commented on Mar 25, 2022

    @pedreviljoen

    @meleu
    added support in this PR:
    #1032

  3. asarkar commented on Dec 24, 2022

    @asarkar

    +1 for an option to update the exercise without overwriting student solution. @pedreviljoen Is there a way to have your PR looked at? Have you tried tagging any of the maintainers in your PR?

    I'm using a shell script to do this, see #1007 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions