Consensys / surya

A set of utilities for exploring Solidity contracts
Apache License 2.0
1.09k stars 119 forks source link

[WIP] Add flatten command #92

Closed maurelian closed 5 years ago

maurelian commented 5 years ago

I added surya flatten.

It currently works when pointed at a single file. It seems like it's duplicating some of the code when multiple files are passed using a glob pattern.

This also restores the importHelper util, which I think is nice to have around.

GNSPS commented 5 years ago

I was actually working on a local branch to add the importer yesterday, too! 😂 Just published it now, no flatten command, though. We should compare and merge efforts on the importer part. (https://github.com/ConsenSys/surya/tree/feat/importer)

maurelian commented 5 years ago

I'm gonna close this PR, and open a new one once the #93 is merged.

GNSPS commented 5 years ago

I'd suggest to reopen, delete the "importer" file, rebase and then merge! 😄