Client for zordfsdb database
Find a file
2024-09-20 11:27:51 +03:00
.gitignore UI update 2024-08-29 16:47:24 +03:00
go.mod zordfsdb up 2024-09-20 11:27:51 +03:00
go.sum zordfsdb up 2024-09-20 11:27:51 +03:00
LICENSE Initial commit 2024-08-23 08:28:17 +00:00
main.go support _ and $ 2024-08-29 18:11:57 +03:00
README.md Update README.md 2024-08-29 15:14:38 +00:00

zordfsdb-client

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/list
  • TREE [path] - draw db part in path with values
  • 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
  • et_on_list_obj (???)