apache / apache/polaris

Refactor Admin-CLI such that the shell script can farm out commands to each module

Open
#3,855 3 comments 1 reaction 2 assignees Claimed by @flyrain View on GitHub
enhancement
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
2d 1h
Merged PRs (30d)
140

Description

### Is your feature request related to a problem? Please describe.

Currently, the Admin CLI is built and packaged as a fully self-contained unit. It would be beneficial to restructure it so that dependencies can be added as needed, rather than bundling everything by default. For example, the NoSQL commands could be moved into the NoSQL module, with the Admin CLI invoking them from there.

This will become increasingly important as we continue adding more commands to the Admin CLI. Now would be a good time to revisit and improve this aspect of the design.

This discussion came up in this [dev ML thread](https://lists.apache.org/thread/9djtyorskydb6yrzjby14mkr8b7czo8r)

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.