tengqm commented on code in PR #5920:
URL: https://github.com/apache/gravitino/pull/5920#discussion_r1892020379


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -531,6 +531,16 @@ protected void handleGroupCommand() {
 
     Command.setAuthenticationMode(auth, userName);
 
+    if (CommandActions.LIST.equals(command)) {
+      newListGroups(url, ignore, metalake).handle();
+      return;
+    }
+
+    if (Objects.isNull(group)) {
+      System.err.println("Group is undefined. Please use -g or --group to 
specify a group.");
+      return;
+    }

Review Comment:
   See my comment to your PR #5921 



-- 
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]

Reply via email to