Andriamanitra / coctus

Command line tool for playing clashes and I/O puzzles from CodinGame locally
MIT License
4 stars 2 forks source link

Add `clash testcase` command #35

Closed Andriamanitra closed 7 months ago

Andriamanitra commented 7 months ago

Add a command clash testcase that can be used like this:

clash testcase 1,2,3  # print titles, inputs and outputs of test 1, validator 1, and test 2
clash testcase --in 3  # print just the input of test 2
clash testcase --out 1  # print just the expected output of test 1

The command should also respect --show-whitespace and --no-color options.

I also added --testcases parameter to clash run so you can pick which tests to run.

closes #9