berberman / arch-hs

Distribute hackage packages to archlinux
MIT License
19 stars 4 forks source link

Machine parsable output #36

Closed VannTen closed 3 years ago

VannTen commented 3 years ago

Feature request

Would adding a option to have machine parseable output possible ? I'm thinking in particular to the Recommended package order. (a simple text file with the package in the order ?) And maybe a json file for the dependency graph ?

Your tool is fantastic, by the way o/

Thank you for your work :)

berberman commented 3 years ago

Hi, I implemented dumping the output to undecorated JSON, like this (arch-hs --json ./output.json gi-gdk, the example in README): Does this satisfy your needs? Or do you have any suggestions ;)

VannTen commented 3 years ago

Exactly what I had in mind ! Thank you very much :)

berberman commented 3 years ago

The latest release 0.7.0 has included this feature, so I'm going to close it.