exercism / exercism/cli

Replaced default path when using --workspace

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

描述

I haven't used exercism in a while and just updated to 3.0.11. In the process. I used the --workspace flag, but it ignored the path I gave and replaced the default (existing) path.

Steps taken:

1. `exercism configure --token=`
Result:
```
The default Exercism workspace is ~/Exercism
There is already something there.
...
You can choose the workspace location by rerunning this command
with the --workspace flag.
```
2. `exercism configure --token= --workspace=~/Exercism/Reboot/`
Result:
```
You have configured the Exercism command-line client:

Config dir: ~/.config/exercism
Token: (-t, --token)
Workspace: (-w, --workspace) ~/Exercism/Reboot
API Base URL: (-a, --api) https://api.exercism.io/v1
```

However, `~/Exercism/Reboot` does not exist. The existing directory `~/Exercism` is now an empty directory `~/exercism`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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