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


##########
docs/cli.md:
##########
@@ -506,6 +507,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

Review Comment:
   Re `gcli catalog set --name foo --user bar`, originally I had wanted to use 
`gcli catalog set --name foo --owner bar` as that is easier to understand. 
However, there is no easy way to distinguish between a user owner and a group 
owner. You could get around this by adding three flags, `--owner`, 
`--user-owner` and `--group-owner`, but that also didn't seem a good solution. 
I also considered using `chown` style syntax but thought that would be more 
confusing, especially as you can only have a user or group owner, not both.



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