CLI Installation
Install
The CLI is available as @payre/cli:
bash
npm install -g @payre/cli
# or use directly from the monorepo
npx payreConfiguration
Set your API key:
bash
payre config set-key pyr_sk_your_api_keySet a custom API URL (default: http://localhost:3000):
bash
payre config set-url https://api.payre.devView current configuration:
bash
payre config showConfiguration is stored in ~/.payre/config.json.
Environment Variables
You can also use environment variables:
bash
export PAYRE_API_KEY=pyr_sk_your_api_key
export PAYRE_BASE_URL=https://api.payre.devEnvironment variables take precedence over the config file.