Config file
The CLI stores state at:$XDG_CONFIG_HOME/slideless/config.json if XDG_CONFIG_HOME is set.)
Created automatically by slideless login. File permissions are 0600. Shape:
Profiles
Multiple profiles let you switch between orgs (personal, team, client) without re-logging-in each time.--name is omitted, the CLI derives a profile name from the organization name (e.g. “Acme Inc.” → acme-inc).
Resolution chain
For every command, the CLI resolves credentials and base URL in this order:API key
--api-key <key>flagSLIDELESS_API_KEYenv var- Active profile’s
apiKey - Error
Base URL
--api-url <url>flagSLIDELESS_API_BASE_URLenv var- Active profile’s
baseUrl(if set) - Production default
Environment variables
| Variable | Purpose |
|---|---|
SLIDELESS_API_KEY | Overrides the active profile’s API key. Handy for CI. |
SLIDELESS_API_BASE_URL | Overrides the backend URL. Used for staging or a local emulator. |
XDG_CONFIG_HOME | Overrides the config directory base path. |