stjude-rust-labs / sprocket

A bioinformatics workflow engine built on top of the Workflow Description Language (WDL).
https://sprocket.bio
Apache License 2.0
31 stars 1 forks source link

feat: explain command #4

Closed a-frantz closed 5 months ago

a-frantz commented 5 months ago

All the functionality changes here are quite straightforward. I added a new dependency, colored, in order to get some "prettier" explain output. Maybe there's more we can do in that direction?

peterhuene commented 5 months ago

I think we can live with the two match statements for now, as I don't think we can chain the two iterators together since they're different concrete types due to the E type parameter.

The solution will be to have a single list of lint rules moving forward in the new implementation, where everything is based off the AST.

I'm hoping that we might even put them in their own crate, such as wdl-lint.