essential-contributions / essential-builder

Reference implementation of a block builder for the Essential Protocol.
Apache License 2.0
2 stars 0 forks source link

Move cli logic into lib.rs run function to make testing easier #39

Closed freesig closed 2 weeks ago

freesig commented 2 weeks ago

Currently all the logic for the cli is in the main.rs but this makes testing it very hard. Move this logic into the lib.rs file in the cli crate and expose a run function.