Skip to content

Commit f4f94f2

Browse files
committed
[#6603] docs(*): fix CLI.sh can't find the Jar
change some docs file.
1 parent 65af30e commit f4f94f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clients/cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Before you can build and run this project, it is suggested you have the followin
5252
3. Create an alias:
5353

5454
```bash
55-
alias gcli='java -jar clients/cli/build/libs/gravitino-cli-*-incubating-SNAPSHOT.jar'
55+
alias gcli='sh $GRAVITINO_HOME/bin/gcli.sh'
5656
```
5757
3. Test the command:
5858
```bash

docs/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Currently, the CLI allows users to view metadata information for metalakes, cata
1717
You can configure an alias for the CLI for ease of use, with the following command:
1818

1919
```bash
20-
alias gcli='java -jar ../../cli/build/libs/gravitino-cli-*-incubating-SNAPSHOT.jar'
20+
alias gcli='sh $GRAVITINO_HOME/bin/gcli.sh'
2121
```
2222

23-
Or you use the `gcli.sh` script found in the `clients/cli/bin/` directory to run the CLI.
23+
Or you use the `gcli.sh` script found in the `/path/to/gravitino/bin/` directory to run the CLI.
2424

2525
## Usage
2626

0 commit comments

Comments
 (0)