xunliu commented on code in PR #5759:
URL: https://github.com/apache/gravitino/pull/5759#discussion_r1872479836
##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -201,7 +201,7 @@ private void handleCatalogCommand() {
String outputFormat = line.getOptionValue(GravitinoOptions.OUTPUT);
if (CommandActions.LIST.equals(command)) {
- newListCatalogs(url, ignore, metalake).handle();
+ newListCatalogs(url, ignore, metalake, outputFormat).handle();
Review Comment:
I think we can pass the CommondOption value in the function params.
Through `CommondOption` we can get any option values.
@tengqm @justinmclean What do you think?
--
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]