justinmclean commented on code in PR #5293:
URL: https://github.com/apache/gravitino/pull/5293#discussion_r1859496005


##########
docs/cli.md:
##########
@@ -522,6 +523,26 @@ gcli tag update --tag tagA --rename newTag
 gcli tag update --tag tagA --comment "new comment"
 ```
 
+### Owners commands
+
+#### List an owner
+
+```bash
+gcli catalog details --name postgres --owner
+```
+
+#### Set an owner to a user
+
+```bash
+gcli catalog set --name postgres --user admin
+```
+
+#### Set an owner to a group
+
+```bash
+gcli catalog set --name postgres --group groupA

Review Comment:
   I would suggest we go with:
   ```
   gcli catalog details --owner --metalake metalake_demo --name postgres
   cli catalog set --owner  --user admin --name postgres
   cli catalog set --owner --group groupA --name postgres
   ```
   (Note the order of the options doesn't matter, but it's clearer to the user 
when ordered in this way.



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