Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update the usage
  • Loading branch information
BohuTANG authored Aug 5, 2021
1 parent f977e34 commit 1859152
Showing 1 changed file with 28 additions and 18 deletions.
46 changes: 28 additions & 18 deletions fusecli/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Datafuse CLI
# Datafuse CLI

All-in-one tool for setting up, managing with Datafuse.

Expand All @@ -15,25 +15,35 @@ make cli-e2e
Usage:
```
$ ./target/release/datafuse-cli
[test] > #version
#version
[test] > version
Datafuse CLI 0.1.0
Datafuse CLI SHA256 841f74c8efd556229732142ea400863b7a71e640bc7112f43b658777bcf4ce19
Git commit f15e6ab
Build date 2021-08-05T09:55:03.581162876+00:00
OS version thinkpad 20.04 (kernel 5.10.0-1038-oem)
[test] > help
version Datafuse CLI version
comment # your comments
update Check and download the package to local path
cluster Start the fuse-query and fuse-store service
[test] > #update to latest version
#update to latest version
[test] > update
Arch x86_64-unknown-linux-gnu
Tag v0.4.66-nightly
Binary /home/bohu/.datafuse/test/downloads/datafuse--x86_64-unknown-linux-gnu.tar.gz
Download https://github.com/datafuselabs/datafuse/releases/download/v0.4.66-nightly/datafuse--x86_64-unknown-linux-gnu.tar.gz
Unpack to /home/bohu/.datafuse/test/bin/v0.4.66-nightly
[test] > #start fuse-query and fuse-store on local
#start fuse-query and fuse-store on local
[test] > cluster start
Start [fuse-query] /home/bohu/.datafuse/test/bin/v0.4.66-nightly/fuse-query > /tmp/query-log.txt 2>&1 &
[OK]
Start [fuse-store] /home/bohu/.datafuse/test/bin/v0.4.66-nightly/fuse-store> /tmp/store-log.txt 2>&1 &
[OK]
package Package command
[test] > package -h
package
USAGE:
package [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
SUBCOMMANDS:
fetch Fetch the latest version package
[test] > package fetch
✅ [ok] Arch x86_64-unknown-linux-gnu
✅ [ok] Tag v0.4.69-nightly
✅ [ok] Binary /home/bohu/.datafuse/test/downloads/v0.4.69-nightly/datafuse--x86_64-unknown-linux-gnu.tar.gz
✅ [ok] Unpack /home/bohu/.datafuse/test/bin/v0.4.69-nightly
[test] >
```

0 comments on commit 1859152

Please sign in to comment.