This Pull Request adds a CLI to manage things. I'll make the documentation for the commands ASAP. But in short, the cli can handle following things:
start vocascan-server
create, read, update, delete users
generate secrets
To develop and test this locally you can do a npm link in the root of the repo, so you are able to use the vocascan-server command. There is also a automatically generated help command from command. (vocascan-server --help)
Motivation and Context
I refactored that because now its very easy to run a vocascan server also programatically, which would help us in the future by maybe integrating a server into the desktop app to use it like a offline/no sync variant.
Description
This Pull Request adds a CLI to manage things. I'll make the documentation for the commands ASAP. But in short, the cli can handle following things:
To develop and test this locally you can do a
npm link
in the root of the repo, so you are able to use thevocascan-server
command. There is also a automatically generated help command from command. (vocascan-server --help
)Motivation and Context
I refactored that because now its very easy to run a vocascan server also programatically, which would help us in the future by maybe integrating a server into the desktop app to use it like a offline/no sync variant.
Checklist