justinmclean commented on issue #5276: URL: https://github.com/apache/gravitino/issues/5276#issuecomment-2453589883
Hi @orenccl thanks for offering to help. To get started on this, have a look at the commands in `clients/cli/src/main/java/org/apache/gravitino/cli/commands/`, `MetalakeDetails.java` would be a good one to copy, create a new command called something like `MetalakeAuditInfo.java`. In that command call the `auditInfo()` method and print out the creator, create time, last modifier and last modified time (see `Audit.java` and `Auditable.java`). Next, add an index option --audit to GravitinnoOptions.java and modify handleTableCommand in GravitionoCommandLine.java to create the new command when passed the new option and the details command. I would expect the command to be something like this: gcli metalake details --metalake metalake_demo --audit Finally, update the documentation in docs/cli.md adding the command to it. -- 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]
