Skip to content

tleen/exercism-config-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exercism-config-tree

Output Exercism config file as a text tree.

GET https://raw.githubusercontent.com/exercism/lua/master/config.json | exercism-config-tree
core
----
├── hello-world [1]
|
├── hamming [2]
|   ├── nucleotide-count [3]
|   ├── rna-transcription [3]
|   ├── protein-translation [3]
|   └── scrabble-score [3]
|
├── house [3]
|   ├── beer-song [3]
|   └── food-chain [3]
|
├── difference-of-squares [2]
|   ├── sum-of-multiples [2]
|   ├── perfect-numbers [3]
|   ├── pythagorean-triplet [3]
|   ├── triangle [3]
|   └── largest-series-product [5]
...

bonus
-----
...

Install

npm install -g exercism-config-tree

Run

exercism-config-tree < <path-to-your/>config.json
core
----
├── hello-world [1]
|
├── two-fer [1]
|   └── leap [1]
|
├── hamming [1]
|   ├── nucleotide-count [2]
|   |   ├── rna-transcription [2]
|   |   └── protein-translation [3]
|
...

It takes an Exercism track config file and transforms it into a tree of the core exercises + unlocks, and another tree for the bonus exercises (unlocked after the initial exercise).

About

View Exercism config file as a text tree.

Resources

License

Stars

Watchers

Forks

Packages

No packages published