When inexisting `--track`/`--exercise` options are provided, CLI does not error
未关闭
- 主要语言
- Go
- 星标
- 1.4k
- 派生
- 363
- 平均合并
- 6 天 13 小时
- 30 天内合并 PR
- 2
描述
# Current behaviour
When one provides an inexisting combination of `track` and `exercise` switches on the terminal, then the CLI will report successful download to `$(exercism workspace)/users`:
```plain
$ exercism download --track=erlang --exercise=hello
Downloaded to
/home/nmelzer/exercism/users
```
After the download there will be a `.exercism` folder with a `metadata.json` in it. It has the following contents:
```json
{"track":"","exercise":"","id":"","url":"","handle":"","is_requester":false,"auto_approve":false}
```
# Expected behaviour
The CLI should tell us with an error message that the track/exercise does not exist.
贡献指南
评估
这个 Issue 还没有评估数据。