@matthewlai I've been doing some refactoring in the cli, here are my ideas:
Logzero has been introduced to enable highlighted colors: I think we can make the cli more appealing in this way.
Wrap in one single space opts being passed to parser: Instead of having logic that regards to parsing arguments in main, we can wrap it up into a single function.
Component class implementation to unify logic between cpl and netlist: I saw that were several actions being shared for both cpl and netlist. So, I decided that we can use a class to contain all related data, and in this way whenever change we will require in future we can set it up through class logic.
The rest of changes are slight details that I found while was developing. What are your thoughts? Looking forward to read it.
@matthewlai I've been doing some refactoring in the cli, here are my ideas:
Logzero has been introduced to enable highlighted colors: I think we can make the cli more appealing in this way.
Wrap in one single space opts being passed to parser: Instead of having logic that regards to parsing arguments in main, we can wrap it up into a single function.
Component class implementation to unify logic between cpl and netlist: I saw that were several actions being shared for both cpl and netlist. So, I decided that we can use a class to contain all related data, and in this way whenever change we will require in future we can set it up through class logic.
The rest of changes are slight details that I found while was developing. What are your thoughts? Looking forward to read it.