What would you like to be added/modified:
-
We need seperating kuiper's sub-commands into different .go files, each sub-commands has it own .go file.
-
Command-Line tools arguments naming should be kebab-case.
-
KuiperBaseKey environment should be public to users and documented and it's naming should be upper case and seperate with underscore.
-
Add version flag to get version of kuiper and kuiperd.
Why is this needed:
Currently, eKuiper's command-line tools, which include kuiperd and kuiper, offer a lots of functions that made developers and users could work on terminal. However, the arguments are not always clear, and the sub-commands of kuiper are written in a single .go file, which complicates maintenance.
Above are all the optimizations I can think of. If you have better suggestions, please reply in the issue to join the discussion.
BTW: This proposal is outside the roadmap maybe? and I can try to work on it.