slick
slick copied to clipboard
Refactor: simplify the CLI command addition
Before this, when we want to make a new command for the cli, we need to extend the switch case, and then manually adding the usage or help command. This can be messy pretty quick. So, i use the cobra library to simplify the command addition for further development
Note: this PR mostly only modify/refactor the current cli approach. There is absolutely room for other improvement, but the intention of this PR solely only to refactor the cli