exercism / exercism/cli

Feature: infer the file to be submitted

未關閉
#824 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Go
星號
1.4k
分支
363
平均合併
6 天 13 小時
30 天內合併 PR
2

描述

I'd like it if, as a student, I could simply run:

```bash
~/Exercism/python/two-fer $ exercism submit
```

...and it'd infer that the argument is `two_fer.py`. I think this would be big UX win. I don't know, though, if any exercises are so complex or oddly named that the solution filename couldn't be inferred. (?) If this is a problem, we could introduce an exercise metadata file. This could also help #230:

```json
"meta_data": {
"solution_file": "two_fer.py",
"test_file": "two_fer_test.py"
}
```

Open to a PR for this?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。