mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(book): add missing db commands (#3277)
This commit is contained in:
@ -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')
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user