@temps-sdk/cli 0.1.28 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +32 -1
  2. package/dist/index.js +10737 -3183
  3. package/package.json +6 -2
package/README.md CHANGED
@@ -298,7 +298,38 @@ bunx @temps-sdk/cli containers list --project <slug>
298
298
  bunx @temps-sdk/cli runtime-logs --project <slug>
299
299
  ```
300
300
 
301
- **Full resource list:** projects, deployments, environments, domains, custom-domains, DNS, DNS providers, git providers, services, backups, containers, monitors, incidents, webhooks, API keys, tokens, users, settings, audit logs, proxy logs, errors, DSN, KV, blob, scans, IP access, email domains, email providers, emails, load balancer, templates, presets, funnels, notifications, notification preferences, platform.
301
+ **Full resource list:** projects, deployments, environments, domains, custom-domains, DNS, DNS providers, git providers, services, backups, containers, monitors, incidents, webhooks, API keys, tokens, users, settings, audit logs, proxy logs, errors, DSN, KV, blob, scans, IP access, email domains, email providers, emails, load balancer, templates, presets, funnels, notifications, notification preferences, platform, data.
302
+
303
+ ## Browsing service data
304
+
305
+ Read-only access to the data *inside* a service — tables, collections, keys and
306
+ objects across PostgreSQL, MySQL/MariaDB, MongoDB, Redis and S3. Useful for
307
+ answering questions about your application's real data from a script or a
308
+ coding agent, without opening the console.
309
+
310
+ ```bash
311
+ # What does this service support, and how do its containers nest?
312
+ bunx @temps-sdk/cli data info my-db
313
+
314
+ # Databases (or buckets), then tables (or collections/keys/objects)
315
+ bunx @temps-sdk/cli data containers my-db
316
+ bunx @temps-sdk/cli data tables my-db --path mydb/public
317
+
318
+ # Columns and types, then the rows themselves
319
+ bunx @temps-sdk/cli data schema my-db users --path mydb/public
320
+ bunx @temps-sdk/cli data rows my-db users --path mydb/public --limit 20
321
+
322
+ # Filter using the backend's own syntax (see `data info` for the schema)
323
+ bunx @temps-sdk/cli data rows my-db users --path mydb/public \
324
+ --filter '{"where":"plan = '"'"'pro'"'"'"}' --json
325
+ ```
326
+
327
+ Each command prints the next one with a real path filled in. `--path` is
328
+ slash-separated and mirrors the engine's hierarchy — `mydb/public` for
329
+ PostgreSQL (database/schema), just `mydb` for MySQL and MongoDB, the database
330
+ number for Redis, the bucket name for S3.
331
+
332
+ Add `--json` for untruncated, machine-readable output.
302
333
 
303
334
  ## CI/CD Integration
304
335