Authentication
To access Loophole services described in further sections, you need to sign up for an account. Once you've signed up, you need to configure loophole with the authtoken. This will grant you access to account-only features. Loophole has a simple 'account' command to make this easy. Under the hood, the login command does is to add (or modify) the authtoken property in your loophole configuration file.
Under beta testing, all the features are available to every user at no cost.
account​
This command is responsible for user account related functions.
It doesn't do anything alone, one of the following needs to be provided:
login​
To get the beta benefits the user should login with his access token which can be generated by using this command.
After executing this command you'll be asked to open the URL in your browser, log in and input the given code.
If everything is correct you'll be logged in. You can come back to CLI and start using loophole
!.
Usage:
$ loophole account login
logout​
On the utilization of the services, you get an option to logout from the account. This discards the access token and let's you log in again.
Usage:
$ loophole account logout