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


##########
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 would say that comparing these two options, the first one seems more 
explainable, but do we have better solutions fixing the place where `--owner` 
should be placed, if we can place `set` and `--owner` closer, then it would be 
better for users to understand. Or even like @shaofengshi mentioned, using 
`set-owner`. like:
   
   ```
   gcli catalog set --owner --name foo --user bar
   gcli catalog set --tags xxx
   gcli catalog set-owner --name foo --user bar
   gcli catalog set-tags xxx
   ```



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