Example: running the client in non-interactive mode
Let's run the previous example, but now in non-interactive mode. First of all you will need to generate a token on the admin pages, download it and save it a well know location on the filesystem of the machine you intend to use.
Let's assume you stored the token under ~/token.json
, the is available at ~/apps/meterian-cli.jar
, and your shell current working directory is the one of the project. You can now launch the client:
The client will continue as usual, and if the token is valid it will proceed as in the interactive scenario.
Last updated