chore(book): add missing db commands (#3277)

This commit is contained in:
Alexey Shekhirin
2023-06-20 17:51:47 +01:00
committed by GitHub
parent a450eb1b9e
commit ac887ce527

View File

@ -16,6 +16,10 @@ Commands:
Gets the content of a table for the given key Gets the content of a table for the given key
drop drop
Deletes all database entries Deletes all database entries
version
Lists current and local database versions
path
Returns the full database path
help help
Print this message or the help of the given subcommand(s) Print this message or the help of the given subcommand(s)
@ -67,6 +71,7 @@ Usage: reth db stats [OPTIONS]
Options: Options:
-h, --help -h, --help
Print help (see a summary with '-h')
``` ```
## `reth db list` ## `reth db list`
@ -136,3 +141,29 @@ Options:
-h, --help -h, --help
Print help (see a summary with '-h') Print help (see a summary with '-h')
``` ```
## `reth db version`
```bash
$ reth db version --help
Lists current and local database versions
Usage: reth db version [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
```
## `reth db path`
```bash
$ reth db path --help
Returns the full database path
Usage: reth db path [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
```