Mprove
.mdx

CLI Configuration

Mprove CLI searches for each configuration parameter in the following order:

  1. current command invocation (only for --project-id)
  2. process environment variable
  3. file specified with --env-file-path
  4. .env file located in the current working directory.
  5. If not found, an error is shown.

Parameters

Environment valirables:

MPROVE_CLI_API_KEY=PK-...
MPROVE_CLI_HOST=https://app.mprove.io
MPROVE_CLI_PROJECT_ID=DXYE72ODCP5LWPWH2EXQ

MPROVE_CLI_API_KEY is a personal access api key (can be generated on user profile page)

MPROVE_CLI_PROJECT_ID is optional and can be used instead of --project-id

If the --project-id is specified for command, it takes precedence over MPROVE_CLI_PROJECT_ID

Project ID can be obtained from web application URL: .../org/AWNCAHWLFQTQJYCH3ZSE/project/DXYE72ODCP5LWPWH2EXQ/...

On this page