shaofengshi commented on code in PR #5293: URL: https://github.com/apache/gravitino/pull/5293#discussion_r1842272205
########## 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: "set" is better than "update" I think; but as there is no "owner" in any command or parameter, this line is not that readable for user. As owner is such a common concept at different levels (metalake, catalog, schema, table, fileset, etc), I think adding a "set-owner" command would be better to understand and remember. This is my two cents, I think you can request more inputs from others as well. -- 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]
