Global options are commonly available to use with multiple Openlayer CLI commands.

API key

The --api-key option can be used to provide an Openlayer API key when running Openlayer CLI commands.

For example, to push without having to run openlayer login:

openlayer push --api-key=[your api key here]

Debug

The --debug option can be used to provide a more verbose output when running Openlayer CLI commands.

openlayer --debug

Profile name

The --profile-name option can be used to specify the profile name to read from for config (default "default").

openlayer --profile-name=[profile name]

Version

The --version option can be used to verify the version of Openlayer CLI being used.

openlayer --version