2024-08-23 08:28:17 +00:00
|
|
|
# zordfsdb-client
|
|
|
|
|
2024-08-23 11:19:06 +00:00
|
|
|
Client for zordfsdb database.
|
2024-08-29 13:47:24 +00:00
|
|
|
|
2024-08-29 13:50:23 +00:00
|
|
|
## ZordFsDB shell supported commands:
|
|
|
|
|
2024-08-29 14:59:31 +00:00
|
|
|
* 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/list
|
|
|
|
* TREE [path] - draw db part in path with values
|
|
|
|
* HELP - will print this help
|
|
|
|
* QUIT - exit the shell
|
2024-08-29 13:50:23 +00:00
|
|
|
|
|
|
|
Last used path can be accessed by _
|
2024-08-29 14:59:31 +00:00
|
|
|
|
2024-08-29 13:50:23 +00:00
|
|
|
Last returned index (after ADD command) can be accessed by $
|
|
|
|
|
|
|
|
Short commands can be as:
|
2024-08-29 14:59:31 +00:00
|
|
|
|
2024-08-29 13:50:23 +00:00
|
|
|
KEYS(\K), GET(\G), INC(\I), DEC(\D), NOW(\N), DEL(\R), SAVE(\S), CREATE(\C), ADD(\A), HELP(\H), QUIT(\Q)
|
|
|
|
|
|
|
|
|
2024-08-29 13:47:24 +00:00
|
|
|
## TODO
|
|
|
|
|
|
|
|
- colors
|
|
|
|
- SAVE - refresh
|
2024-08-29 15:14:38 +00:00
|
|
|
- et_on_list_obj (???)
|