exercism / exercism/cli

Feature: infer the file to be submitted

Đang mở
#824 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
1.4k
Fork
363
Merge trung bình
6 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.