denoland/denokv

Update docs: unexpected argument '--sqlite-path' found when following examples

Closed this issue · 1 comments

When following documentation, I am trying to use the denokv standalone and am getting

error: unexpected argument '--sqlite-path' found

Usage: denokv --sqlite-path <SQLITE_PATH> serve [OPTIONS] --access-token <ACCESS_TOKEN>

For more information, try '--help'.

This is when running with either installing with cargo or the docker container, reproduce with:

export DENO_KV_ACCESS_TOKEN=$(openssl rand -base64 15)
docker run -it --init -p 4512:4512 -v ./data:/data ghcr.io/denoland/denokv serve --sqlite-path /data/denokv.sqlite serve --access-token $DENO_KV_ACCESS_TOKEN

--sqlite-path has to be before serve, docs need to be updated