Skip to content

Proposal: Improve eKuiper command-line tools maintainability and usability #2816

@yai-dev

Description

@yai-dev

What would you like to be added/modified:

  1. We need seperating kuiper's sub-commands into different .go files, each sub-commands has it own .go file.

  2. Command-Line tools arguments naming should be kebab-case.

  3. KuiperBaseKey environment should be public to users and documented and it's naming should be upper case and seperate with underscore.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions