Skip to main content

Config file

The CLI stores state at:
(Or $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.
If --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

  1. --api-key <key> flag
  2. SLIDELESS_API_KEY env var
  3. Active profile’s apiKey
  4. Error

Base URL

  1. --api-url <url> flag
  2. SLIDELESS_API_BASE_URL env var
  3. Active profile’s baseUrl (if set)
  4. Production default

Environment variables

Inspecting and clearing