essential-contributions / essential-node

Derive current head from essential builder and sync state between nodes
Apache License 2.0
2 stars 1 forks source link

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

Closed freesig closed 3 weeks ago

freesig commented 4 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.