Currently the server CLI implementation of the existing nodes lacks clarity and needs a major cleaning up.
- Use Apache Commons CLI to implement the general command-line functionality
- Refactor the ConfigNode, DataNode and AiNode CLI parts
The syntax of the commandline issues will change to the follwing format:
{NodeCli} <options> <command>
The commands will be:
The options will be:
To be discussed:
- Should it be possible to remove multiple nodes, by passing in a list of ids?
- Should it be possible to remove the current node, by omitting the nodeId parameter?