exercism / exercism/cli

feature request: `exercism download` should warn the user if a newer version is available

Open
#1,049 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.4k
Forks
363
Avg merge
6d 13h
Merged PRs (30d)
2

Description

## Scenario

If I run a command like this `exercism download --exercise=scale-generator --track=go` and I already have a copy of the code downloaded, and in the mean time the upstream exercise has been updated, I won't know if I have the latest version or not.

## Proposed solution

Add a `version` field to the `metadata.json`. This file should be downloaded first and its value should be compared with the one in the local `metadata.json`. If the values are different, the user should be warned that a new version is available.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.