exercism / exercism/cli

Feature: infer the file to be submitted

Aperta
#824 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
1.4k
Fork
363
Merge medio
6g 13h
PR unite (30g)
2

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.