feat(cmd): command refactor (#44)

* feat(cmd): command refactor
This commit is contained in:
fengjiachun
2022-06-15 20:08:00 +08:00
committed by GitHub
parent 633524709b
commit 725a261b55
13 changed files with 200 additions and 54 deletions

View File

@@ -3,3 +3,20 @@
[![codecov](https://codecov.io/gh/GrepTimeTeam/greptimedb/branch/develop/graph/badge.svg?token=FITFDI3J3C)](https://codecov.io/gh/GrepTimeTeam/greptimedb)
GreptimeDB: the next-generation hybrid timeseries/analytics processing database in the cloud.
## Usage
```
// Start datanode with default options.
cargo run -- datanode start
OR
// Start datanode with `http-addr` option.
cargo run -- datanode start --http-addr=0.0.0.0:9999
OR
// Start datanode with `log-dir` and `log-level` options.
cargo run -- --log-dir=logs --log-level=debug datanode start
```