Skip to content

Instantly share code, notes, and snippets.

@canadaduane
Last active May 13, 2019 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canadaduane/9b808232dcc999b6dd83f23cd0aa0bfc to your computer and use it in GitHub Desktop.
Save canadaduane/9b808232dcc999b6dd83f23cd0aa0bfc to your computer and use it in GitHub Desktop.
Ignorantly trying to use RON swarmdb CLI
./swarmdb new --help
# NotFound$~~~~~~~~~~
# no replica found (.swarmdb)
./swarmdb init
./swarmdb new
# BADARGS$~~~~~~~~~~
# new <rdt> [as objectname] [on BranchName]
# create an empty object of the given type
# <objectname> a tag for the object (name UUID)
# e.g. swarmdb new ct as readme
./swarmdb new lww
# 1lCG4l+0
# lww object created
./swarmdb get lww of 1lCG4l+0
# NotFound$~~~~~~~~~~
# unknown branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment