Meterian
Search…
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:
1
$ cd vert.x
2
$ java -jar ~/apps/meterian-cli.jar --interactive=false \
3
--auth-file=~/token.json
4
5
Meterian Client v0.1
6
- running locally: yes
7
- interactive mode: off
8
- working on folder: /tmp/vert.x
9
[...]
Copied!
The client will continue as usual, and if the token is valid it will proceed as in the interactive scenario.
Last modified 1yr ago
Copy link