Update README.md
This commit is contained in:
parent
a830fb4e8a
commit
b64507ff31
1 changed files with 22 additions and 1 deletions
23
README.md
23
README.md
|
@ -2,11 +2,32 @@
|
|||
|
||||
Client for zordfsdb database.
|
||||
|
||||
## ZordFsDB shell supported commands:
|
||||
|
||||
KEYS [path] - get list of existing properties/objects/lists
|
||||
GET [path] - get value of property
|
||||
INC [path] - increase abcex value in property
|
||||
DEC [path] - decrease abcex value in property
|
||||
NOW [path] - set value to datetime string in property
|
||||
DEL [path] - remove property/object/list (no confirmation)
|
||||
SAVE [path] [value] - set value to property
|
||||
CREATE [path] - create list/object in path (parent path should exist)
|
||||
ADD [path] - add abcex indexed object to list. Will return index
|
||||
INFO [path] - get all info about property/object/path
|
||||
HELP - will print this help
|
||||
QUIT - exit the shell
|
||||
|
||||
Last used path can be accessed by _
|
||||
Last returned index (after ADD command) can be accessed by $
|
||||
|
||||
Short commands can be as:
|
||||
KEYS(\K), GET(\G), INC(\I), DEC(\D), NOW(\N), DEL(\R), SAVE(\S), CREATE(\C), ADD(\A), HELP(\H), QUIT(\Q)
|
||||
|
||||
|
||||
## TODO
|
||||
|
||||
- colors
|
||||
- SAVE - refresh
|
||||
- _ - before PATH. Ex, after create object and add value: `NOW _.last_build`
|
||||
- $ - last id. Ex, to add node to list and set value after ADD: `SAVE _.$.v1 abc`
|
||||
-defalt-command_notfond
|
||||
-et_on_list_oj
|
||||
|
|
Loading…
Reference in a new issue