feat(xo-server/db-cli): improve help message
This commit is contained in:
parent
e2dc1d98f1
commit
a2a98c490f
@ -103,11 +103,11 @@ xo-server-db --help, -h
|
||||
|
||||
Display this help message.
|
||||
|
||||
xo-server-logs ls
|
||||
xo-server-db ls
|
||||
|
||||
List the available namespaces.
|
||||
|
||||
xo-server-logs ls <namespace> [<pattern>...]
|
||||
xo-server-db ls <namespace> [<pattern>...]
|
||||
|
||||
List all entries in the given namespace.
|
||||
|
||||
@ -116,6 +116,14 @@ xo-server-logs ls <namespace> [<pattern>...]
|
||||
|
||||
Patterns have the following format \`<field>=<value>\`.
|
||||
|
||||
xo-server-logs repl
|
||||
|
||||
Open a REPL to interact directly with the database.
|
||||
|
||||
Available objects:
|
||||
- redis: a raw node-redis instance connected to the database
|
||||
- <namespace>: an xo-collection instance to the coresponding namespace in the database
|
||||
|
||||
`)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user