exercism / exercism/cli

Feature: infer the file to be submitted

Open
#824 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.4k
Forks
363
Avg merge
6d 13h
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.