Abyss-lord commented on PR #8574: URL: https://github.com/apache/gravitino/pull/8574#issuecomment-3336550737
> > > > @Abyss-lord Would you like to add some description about how to the new cli tool ? I ran > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ./distribution/package/bin/gcli.sh --help > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > and got this error: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Error: Unable to access jarfile /Users/unknowntpo/xxx/gravitino/gravitino/distribution/package/auxlib/gravitino-cli-1.1.0-SNAPSHOT.jar > > > > > > > > > > /Users/unknowntpo/xxx/gravitino/gravitino/distribution/package/auxlib/gravitino-cli-1.0.0-SNAPSHOT.jar > > > > > > > > > > > > > > > > > > > @unknowntpo After building the CLI JAR, navigate to `gravitino/clients/cli/build/libs` and run it with the following command: > > > ```shell > > > java -cp gravitino-cli-1.1.0-SNAPSHOT.jar org.apache.gravitino.cli.MainCli <entity> <command> [options] > > > ``` > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > For compatibility reasons, the existing `gcli.sh` startup script has not been modified. > > > > > > Could we create a `gcli2.sh` that calls new cli tool under the hood? I think this will be better. What do you think? > > I agree, I wiil add a new script. Hi @unknowntpo I've completed the code updates and would appreciate your review of the PR when you have a mo ```bash bin/gcli2.sh metalake list --ignore --output table +-------------------+ | Metalake | +-------------------+ | demo | | cli_demo | | demo_metalake | | test_cli_metalake | | test2 | | tyy | | demo3 | | metalake_renamed | +-------------------+ ``` -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org