ol login

Login to the OL Hub

The ol login command accepts your api-key and logs you in to your OL Hub account.  If the login is successful, the command stores your key at {user-home}/.ol/.dt-cli/ol-cli-config.json.

If you omit the --api-key option, you will be prompted to enter it manually.

You can generate your api-key on your OL Hub account. 

Syntax

ol login [OPTIONS]

Options

--api-key

Your api-key. You can generate your api-key on your OL Hub account.

Examples

Login with api key

temp> ol login --api-key MjhjMDlhMQ5ZA==
temp$ ol login --api-key MjhjMDlhMQ5ZA==