Skip to content

Release 1

Latest
Compare
Choose a tag to compare
@emerikaji emerikaji released this 15 Mar 09:22
· 3 commits to main since this release

Release 1: All features working

nBase is fully functional, with support for .ndb and .ndbs files, respectively key-value stores and groups of key-value stores.

WARNING: Do not use ";", or any character used in json syntax, in keys or values. This will cause problems, either directly or when trying to get a json from a store.

Syntax reference (will be included in a help command with next release):

nbase usage_case name [command] [option | key | key value...]

usage_case

  • init: Create a new name.ndb file
  • inits: Create a new name.ndbs file
  • with: Use name.ndb for a command
  • withs: Use name.ndbs for a command

command (.ndb)

  • push: Add the key value pair
  • pushmany: Add all following key value pairs
  • pull: Get the value associated with key
  • edit: Edit key to be associated with value
  • pop: Remove the pair with key key
  • json: Get a json file of the store

command (.ndbs)

  • add: Add the option.ndb file to the name.ndbs group
  • json: Get a json file of the group