5
5
<h1 >iotdb-cli</h1 >
6
6
<h3 >Apache IotDB CLI Client written in Rust</h3 >
7
7
8
- [ ![ License] ( https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square&color=%23E5531A )] ( https://github.com/francis-du/iotdb-cli/blob/main/LICENSE )
8
+ [ ![ Contribute] ( https://img.shields.io/badge/contribute-now-a94064?color=%23E5531A& )] ( https://gitpod.io/#https://github.com/francis-du/iotdb-cli )
9
+ [ ![ downloads] ( https://img.shields.io/crates/d/iotdb-cli?style=flat-square&color=%23E5531A )] ( https://crates.io/crates/iotdb-cli )
10
+ [ ![ GitHub Release] ( https://img.shields.io/github/v/release/francis-du/iotdb-cli?include_prereleases&sort=semver&color=%23E5531A&style=flat-square )] ( https://github.com/francis-du/iotdb-cli/releases )
11
+ ![ Top Lang] ( https://img.shields.io/github/languages/top/trisasnava/koifish?color=%23E5531A&style=flat-square )
9
12
[ ![ Rust Build] ( https://img.shields.io/github/workflow/status/francis-du/iotdb-cli/cargo-test?label=build&style=flat-square )] ( https://github.com/francis-du/iotdb-cli/actions?query=workflow%3Acargo-test )
13
+ [ ![ Docs Build] ( https://img.shields.io/github/workflow/status/francis-du/iotdb-cli/mdbook-deploy?label=docs%20build&style=flat-square )] ( https://github.com/francis-du/iotdb-cli/actions?query=workflow:mdbook-deploy )
14
+ [ ![ License] ( https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square&color=%23E5531A )] ( https://github.com/francis-du/iotdb-cli/blob/main/LICENSE )
10
15
[ ![ Crates Publish] ( https://img.shields.io/github/workflow/status/francis-du/iotdb-cli/cargo-publish?label=publish&style=flat-square )] ( https://github.com/francis-du/iotdb-cli/actions?query=workflow%3Acargo-publish )
11
16
12
17
</div >
13
18
14
19
---
15
20
16
- ![ Alt] ( https://repobeats.axiom.co/api/embed/86055cf67fcaac9e6e93c64c9a7a1630686ceda1.svg " Repobeats analytics image ")
21
+ [ ![ Alt] ( https://repobeats.axiom.co/api/embed/86055cf67fcaac9e6e93c64c9a7a1630686ceda1.svg " Repobeats analytics image ")] ( https://github.com/francis-du/iotdb-cli/pulse )
17
22
18
23
## Installation
19
24
25
+ [ ![ Linux supported] ( https://img.shields.io/badge/Linux%20x86__64-supported%20✓-228B22?style=flat-square&logo=linux )] ( https://github.com/francis-du/iotdb-cli/releases/latest )
26
+ [ ![ macOS supported] ( https://img.shields.io/badge/macOS%20x86__64-supported%20✓-228B22?style=flat-square&logo=apple )] ( https://github.com/francis-du/iotdb-cli/releases/latest )
27
+ [ ![ Windows supported] ( https://img.shields.io/badge/Windows%20x86__64-supported%20✓-228B22?style=flat-square&logo=windows )] ( https://github.com/francis-du/iotdb-cli/releases/latest )
28
+
20
29
1 . Using ` Cargo `
21
30
22
31
``` shell
@@ -28,15 +37,15 @@ cargo install -f --git https://github.com/francis-du/iotdb-cli.git
28
37
2 . From [ binary] ( https://github.com/francis-du/iotdb-cli/releases/latest )
29
38
30
39
``` shell
31
- curl -s https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | sh
40
+ curl -s https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | bash
32
41
33
- curl -s https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | sh -s -- x.x.x
42
+ curl -s https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | bash -s -- x.x.x
34
43
```
35
44
36
45
``` shell
37
- wget -qO- https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | sh
46
+ wget -qO- https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | bash
38
47
39
- wget -qO- https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | sh -s -- x.x.x
48
+ wget -qO- https://raw.githubusercontent.com/francis-du/iotdb-cli/main/install.sh | bash -s -- x.x.x
40
49
```
41
50
42
51
## Usage
@@ -46,15 +55,14 @@ iotdb -h
46
55
```
47
56
48
57
``` shell
49
-
50
58
▀██▀ ▄▄█▀▀██ █▀▀██▀▀█ ▀██▀▀█▄ ▀██▀▀█▄
51
59
██ ▄█▀ ██ ██ ██ ██ ██ ██
52
60
██ ██ ██ ██ ██ ██ ██▀▀▀█▄
53
61
██ ▀█▄ ██ ██ ██ ██ ██ ██
54
62
▄██▄ ▀▀█▄▄▄█▀ ▄██▄ ▄██▄▄▄█▀ ▄██▄▄▄█▀
55
63
56
64
Author: github.com/francis-du
< [email protected] >
57
- Version: iotdb-cli 0.0.2
65
+ Version: iotdb-cli 0.0.3-alpha
58
66
59
67
USAGE:
60
68
iotdb [FLAGS] [OPTIONS] [sql] [SUBCOMMAND]
@@ -77,11 +85,13 @@ ARGS:
77
85
< sql> Execute single sql, eg: ` iotdb " show storage group" `
78
86
79
87
SUBCOMMANDS:
80
- file Execute batch form sql file, eg: ` iotdb file ddl.sql`
81
- help Prints this message or the help of the given subcommand(s)
82
- update Update binary(TODO)
83
- usage Print usage info
84
-
88
+ csv Csv util(TODO)
89
+ file Execute batch form sql file, eg: ` iotdb file ddl.sql`
90
+ help Prints this message or the help of the given subcommand(s)
91
+ load Load TsFile util(TODO)
92
+ update Update binary(TODO)
93
+ usage Print usage info
94
+ version Prints version information
85
95
```
86
96
87
97
1 . Connect to IoTDB server
0 commit comments