Andriamanitra / coctus

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

Add a command to print individual test cases #9

Closed Andriamanitra closed 7 months ago

Andriamanitra commented 8 months ago

I'm imagining something like clash testcase 1 to print the input for the first testcase and clash testcase --output 3 to print the output for the third test case but other ideas are also welcome.

Andriamanitra commented 8 months ago

Currently this can be done with the help of jq but it's not very convenient..

$ clash show --raw | jq -r ".lastVersion.data.testCases[0].testIn"