Closed vsmart closed 5 years ago
This looks really nice @vsmart !
I've created #9 for hiding this behind the tags.
https://github.com/thegreenwebfoundation/green-cost-explorer/issues/9
My preference is to merge this in, and then sketch out the design for breaking the bits of this into separate objects responsible for only their own job.
So we might move some of the CLI parsing into a separate file, using something like commander, and some of the filtering and grouping into another one, and the renderer into it's own file/object too, to make it easier to write the tests and make them easier to change, as long as we have a consistent interface.
Sound good?
My preference is to merge this in, and then sketch out the design for breaking the bits of this into separate objects responsible for only their own job.
👍 :shipit:
Closes #10
Todo
Should this be hidden behind a cli flag? It prints out quite a bit of data.(addressed in comment below)