The client can be used in interactive and non-interactive mode, depending on the operation being monitored by a human or not, and of course by your choice.
In interactive mode (which is the default) the client will check if it has a valid authorization and, if not, will open for you a browser window so that you can log in with your credentials. After a successful login, the client will securely store an authorization token in your home folder, so that you will not need to log in for a certain amount of time. Depending on your configuration, this can vary from hours to days, but by default, a token obtained in this way will last 24 hours.
In non-interactive mode, you will need to generate a token on your administrator page and then store it where you prefer on the local file system. When you will launch the client you will have to specify where the token is stored so that the client can authenticate on your behalf.
$ java -jar /tmp/meterian-cli.jar --interactive=false --auth-file=/tmp/tokens/mytoken.json
For detailed information please see the instructions section in your administration page.