Empirical CLI for authentication and test generation
npm install empiricalrunCLI for Empirical - authenticate and manage your test generation workflows.
``bash`
npm install -g empiricalrun
Authenticate with Empirical using OAuth:
`bash`
empiricalrun login
This opens your browser for authentication. After signing in, the CLI stores your credentials securely.
`bash`
empiricalrun logout
`bash`
empiricalrun whoami
The CLI can be configured using environment variables:
| Variable | Description | Default |
| --- | --- | --- |
| EMPIRICAL_DASHBOARD_URL | Dashboard URL for OAuth | http://localhost:3000 |EMPIRICAL_OAUTH_CLIENT_ID
| | OAuth client ID | cli |
Tokens are stored in ~/.empiricalrun/auth.json` with restricted permissions (600).