Abyss-lord commented on code in PR #6066:
URL: https://github.com/apache/gravitino/pull/6066#discussion_r1901416831


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -1183,6 +1185,38 @@ private void handleModelCommand() {
         newModelDetails(url, ignore, metalake, catalog, schema, 
model).handle();
         break;
 
+      case CommandActions.CREATE:
+        String createComment = line.getOptionValue(GravitinoOptions.COMMENT);
+        String[] createProperties = 
line.getOptionValues(GravitinoOptions.PROPERTIES);
+        Map<String, String> createPropertyMap = new 
Properties().parse(createProperties);
+        newCreateModel(
+                url, ignore, metalake, catalog, schema, model, createComment, 
createPropertyMap)
+            .handle();
+        break;
+
+      case CommandActions.UPDATE:
+        if (uri == null) {

Review Comment:
   @justinmclean @tengqm It is possible to add a -verbose option to display the 
output or not?



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