Updating README.md.
This commit is contained in:
parent
a526f388df
commit
7c78a7f17a
49
README.md
49
README.md
@ -11,24 +11,35 @@ Don't forget to download & install [cassandra-cpp](https://downloads.datastax.co
|
|||||||
## Run
|
## Run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cargo build
|
|
||||||
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
|
|
||||||
|
|
||||||
$ cargo run -- --help
|
|
||||||
bgutil-rs
|
bgutil-rs
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
bgutil-rs <SUBCOMMAND>
|
bgutil-rs [FLAGS] [OPTIONS] <SUBCOMMAND>
|
||||||
|
|
||||||
|
FLAGS:
|
||||||
|
--dry-run Do not write in database (local-clean only)
|
||||||
|
-h, --help Prints help information
|
||||||
|
-V, --version Prints version information
|
||||||
|
|
||||||
|
OPTIONS:
|
||||||
|
--contact-metadata <contact-metadata>
|
||||||
|
[env: CASSANDRA_CONTACT_METADATA=localhost]
|
||||||
|
|
||||||
|
--contact-points <contact-points>
|
||||||
|
[env: CASSANDRA_CONTACT_POINTS=localhost]
|
||||||
|
|
||||||
|
|
||||||
SUBCOMMANDS:
|
SUBCOMMANDS:
|
||||||
clean Stats
|
clean Clean outdated metrics & empty directories
|
||||||
delete Delete metric(s)
|
delete Delete metric(s)
|
||||||
help Prints this message or the help of the given subcommand(s)
|
help Prints this message or the help of the given subcommand(s)
|
||||||
info Information about a metric
|
info Information about a metric
|
||||||
list List metrics with given pattern
|
list List metrics with given pattern
|
||||||
|
local-clean Clean a directory of outdated metrics & empty sub-directories
|
||||||
read Read a metric contents
|
read Read a metric contents
|
||||||
stats Stats
|
stats Stats
|
||||||
write Write a metric and its value
|
write Write a metric and its value
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Info
|
### Info
|
||||||
@ -171,6 +182,27 @@ OPTIONS:
|
|||||||
--start-key <start-key>
|
--start-key <start-key>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Local-clean
|
||||||
|
|
||||||
|
Clean outdated metrics in a given directory.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ cargo run -- local-clean --help
|
||||||
|
bgutil-rs-local-clean
|
||||||
|
Clean a directory of outdated metrics & empty sub-directories
|
||||||
|
|
||||||
|
USAGE:
|
||||||
|
bgutil-rs local-clean <directory>
|
||||||
|
|
||||||
|
FLAGS:
|
||||||
|
-h, --help Prints help information
|
||||||
|
-V, --version Prints version information
|
||||||
|
|
||||||
|
ARGS:
|
||||||
|
<directory>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
|
|
||||||
* command: read
|
* command: read
|
||||||
@ -184,3 +216,8 @@ OPTIONS:
|
|||||||
* command: clean
|
* command: clean
|
||||||
- progress bar
|
- progress bar
|
||||||
* ...
|
* ...
|
||||||
|
|
||||||
|
|
||||||
|
## Dedication
|
||||||
|
|
||||||
|
This piece of software was written during the mourning of Jean-Yves Moyart, aka Maître Mô, 21/10/1967-20/02/2021. My thoughts were with him, his family, his friends and all of us, who really appreciated him. Rest in Peace.
|
||||||
|
Loading…
Reference in New Issue
Block a user