Update README.md

This commit is contained in:
Udovič Arns 2024-08-29 14:59:31 +00:00
parent 603dc1b9aa
commit 7f2f9d47ed

View file

@ -4,24 +4,26 @@ Client for zordfsdb database.
## ZordFsDB shell supported commands: ## ZordFsDB shell supported commands:
KEYS [path] - get list of existing properties/objects/lists * KEYS [path] - get list of existing properties/objects/lists
GET [path] - get value of property * GET [path] - get value of property
INC [path] - increase abcex value in property * INC [path] - increase abcex value in property
DEC [path] - decrease abcex value in property * DEC [path] - decrease abcex value in property
NOW [path] - set value to datetime string in property * NOW [path] - set value to datetime string in property
DEL [path] - remove property/object/list (no confirmation) * DEL [path] - remove property/object/list (no confirmation)
SAVE [path] [value] - set value to property * SAVE [path] [value] - set value to property
CREATE [path] - create list/object in path (parent path should exist) * CREATE [path] - create list/object in path (parent path should exist)
ADD [path] - add abcex indexed object to list. Will return index * ADD [path] - add abcex indexed object to list. Will return index
INFO [path] - get all info about property/object/list * INFO [path] - get all info about property/object/list
TREE [path] - draw db part in path with values * TREE [path] - draw db part in path with values
HELP - will print this help * HELP - will print this help
QUIT - exit the shell * QUIT - exit the shell
Last used path can be accessed by _ Last used path can be accessed by _
Last returned index (after ADD command) can be accessed by $ Last returned index (after ADD command) can be accessed by $
Short commands can be as: 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) KEYS(\K), GET(\G), INC(\I), DEC(\D), NOW(\N), DEL(\R), SAVE(\S), CREATE(\C), ADD(\A), HELP(\H), QUIT(\Q)