exercism / exercism/erlang-tests-generator

generator: Add better optionparsing

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest
Dominant language
Erlang
Stars
1
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The new optionparsing should at least have the following flags/commands:

* [ ] `help`: explains how to use the script, also optional is to extend it with indepth documentation of each other command.
* [ ] `check`: checks all/given exercises if they would generate files that are different than the current ones
* [ ] `diff`: (*optional*) print a unified diff for all/given exercises
* [X] (#209) `generate`: (re)-generate all/given exercises
* [X] (#209) `--path`: specifies the path to the git base folder
* [X] (#209) `--spec-path`: Path to the spcification repository. Usually derived from erlang repository path. Defaults to `${path}/canonical_data/exercises`
* [X] (#209) `--out-path`: Path to write generated files to. Usually derived from erlang repository path. `${path}/exercises`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.