Skip to navigation

Configuration

paygent config list

Show configured values and where each came from.

paygent config list

paygent config get

paygent config get api_url
paygent config get api_url --explain

--explain shows which layer supplied the value, which is the fastest way to understand precedence.

paygent config set

paygent config set api_url https://api.withpaygent.com
paygent config set --profile local api_url http://localhost:8081

paygent config unset

paygent config unset api_url

paygent config path

Show every file and location the CLI reads.

paygent config path

Profiles

A profile is a named set of settings. Use one to keep local development away from production data:

paygent config set --profile local api_url http://localhost:8081
paygent config set --profile local app_url http://localhost:3000
paygent login --profile local
paygent agent list --profile local

The CLI defaults to production. Configure a profile before testing anything destructive.

Environment Variables

VariableDescription
PAYGENT_API_KEYAPI key for usage-tracking commands.
PAYGENT_CONFIGPath to the config file.
PAYGENT_PROFILEProfile to use when --profile is not given.
NO_COLORDisable colored output.