PakhomovAlexander commented on code in PR #1315:
URL: https://github.com/apache/ignite-3/pull/1315#discussion_r1015016276
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/commands/node/NodeReplCommand.java:
##########
@@ -17,15 +17,23 @@
package org.apache.ignite.internal.cli.commands.node;
+import org.apache.ignite.internal.cli.commands.BaseCommand;
import
org.apache.ignite.internal.cli.commands.node.config.NodeConfigReplCommand;
import
org.apache.ignite.internal.cli.commands.node.metric.NodeMetricReplCommand;
import
org.apache.ignite.internal.cli.commands.node.status.NodeStatusReplCommand;
import
org.apache.ignite.internal.cli.commands.node.version.NodeVersionReplCommand;
import picocli.CommandLine.Command;
+import picocli.CommandLine.HelpCommand;
/** Node command in REPL mode. */
@Command(name = "node",
- subcommands = {NodeConfigReplCommand.class,
NodeStatusReplCommand.class, NodeVersionReplCommand.class,
NodeMetricReplCommand.class},
+ subcommands = {
+ NodeConfigReplCommand.class,
+ NodeStatusReplCommand.class,
+ NodeVersionReplCommand.class,
+ NodeMetricReplCommand.class,
+ HelpCommand.class
+ },
description = "Node operations")
-public class NodeReplCommand {
+public class NodeReplCommand extends BaseCommand {
Review Comment:
What is this inheritance for?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]