Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
john-pope opened this issue Nov 10, 2023 · 1 comment · Fixed by #29
Closed

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

john-pope opened this issue Nov 10, 2023 · 1 comment · Fixed by #29

Comments

@john-pope
Copy link
Contributor

john-pope commented Nov 10, 2023

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

@john-pope
Copy link
Contributor Author

john-pope commented Nov 10, 2023

@john-pope john-pope changed the title unexpected argument '--sqlite-path' found Update docs: unexpected argument '--sqlite-path' found when following examples Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant