open-index/open-npm huggingface dataset:
npm package: @slidevids/cli
Description: Initial CLI scaffold for the Public API PRD.
Latest version: 1.0.1

# @slidevids/cli (Scaffold)

Initial CLI scaffold for the Public API PRD.

## Commands

- `slidevids login` (browser auth via localhost callback)
- `slidevids login --api-key [<key>] [--api-base-url <url>]`
- `slidevids login --token <jwt> [--api-base-url <url>]`
- `slidevids logout`
- `slidevids whoami`
- `slidevids config list` (`show` alias supported)
- `slidevids config get api-base-url`
- `slidevids config set api-base-url <url>`
- `slidevids config clear-auth`
- `slidevids timelines list|get|create|delete` (`create --file <timeline.json>` supported)
- `slidevids templates list`
- `slidevids renders list|status|wait|create|download|cancel` (`create` waits by default; use `--no-wait`)
- `slidevids webhooks list|get|create|delete|test`
- `slidevids api-keys list|get|create|delete`

## Notes

- Uses `/v1/*` API endpoints.
- Defaults to production API base URL: `https://api.slidevids.com`.
- Reads `SLIDEVIDS_API_KEY`, `SLIDEVIDS_TOKEN`, and `SLIDEVIDS_API_BASE_URL` from env.
- Stores only non-secret config in `~/.slidevids/config.json`.
- On macOS, stores API key/token in Keychain (`slidevids-cli` service).
- On other platforms, falls back to `~/.slidevids/credentials.json` with `0o600` permissions.
- Add `--json` to return JSON-formatted output/errors for scripting.
- `slidevids.toml` at project root is supported for defaults:
  - `[defaults] resolution`, `codec`, `format` used by `renders create`
  - `[auth] base_url` used as project-level API base URL
- Global `--token <token>` overrides env/keychain auth for a single command.
- Global `--no-color` disables colored output (sets `NO_COLOR=1`).
- `--quiet` suppresses progress/info logs.
- `--debug` emits request/response debug logs to stderr.
- Browser login uses `/api/jwt/cli/authorize` and supports `--no-browser` and `--timeout <seconds>`.
- Singular aliases are accepted: `render`, `timeline`, `template`.