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