exercism / exercism/cli

Allow Windows config file to be read from other locations

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

描述

In reference to issue #149 it would be nice to be able to have an entirely portable version of Exercism by ensuring that the config file, which on Windows is currently placed in `C:\Users\[username]\AppData\Roaming\exercism\user.json`, can be read from either the same folder where the `exercism.exe` executable is located, or by allowing a `--config` parameter on the `configure` command allowing the user to specify their own location for the `user.json` file.

Defaulting to attempting to read the `user.json` file from the same folder as the `exercism.exe` executable and falling back to then searching the user's `AppData` folder (as above) would be a great way to allow all exercism-related files to be stored within the same top-level folder, allowing for a truly portable version of Exercism.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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