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 摘要。