couchbaselabs / couchbase-lite-local

Run a couchbase lite instance with REST interface locally on you Mac or Raspberry Pi
Apache License 2.0
17 stars 0 forks source link

Specify the location for the data files #3

Open sideshowcoder opened 10 years ago

sideshowcoder commented 10 years ago

It is not always practical to use the current directory as the directory for the data files, so specifying their location would be great.

$ couchbase-lite-local --data-dir=~/mycouchbaselite/data/files
sideshowcoder commented 9 years ago

Specifying the location is done via the JavaContext so I guess this needs to be subclassed to make this happen. The opt parsing is inplace now on master to make this easy going forward.