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


##########
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:
   I also feel that `gcli catalog set --name foo --user bar` may not be easy to 
understand. 
   
   For the reviewers or users, it is not easy to understand that this `set` 
refers `set owner` unless he knows that `--user` is related to the owner. But 
if we change to `set-owner`, then users can understand the command easier.
   
   Besides, if later on there's another `set` command also requires `--user` 
option, how do we differentiate it is a `set-owner` command or anything else?



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