@hasna/sandboxes 0.1.28 → 0.1.29

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.
package/README.md CHANGED
@@ -67,14 +67,19 @@ sandboxes-serve
67
67
 
68
68
  ## Cloud Sync
69
69
 
70
- This package supports cloud sync via `@hasna/cloud`:
70
+ Cloud sync is optional. By default sandboxes use local SQLite at `~/.hasna/sandboxes/`.
71
71
 
72
72
  ```bash
73
- cloud setup
74
- cloud sync push --service sandboxes
75
- cloud sync pull --service sandboxes
73
+ sandboxes cloud status
74
+ sandboxes cloud push
75
+ sandboxes cloud pull
76
+ sandboxes cloud sync
76
77
  ```
77
78
 
79
+ Set `HASNA_SANDBOXES_CLOUD_DATABASE_URL` or configure
80
+ `~/.hasna/sandboxes/cloud/config.json` to run in hybrid/cloud mode with
81
+ PostgreSQL.
82
+
78
83
  ## Data Directory
79
84
 
80
85
  Data is stored in `~/.hasna/sandboxes/`.
@@ -0,0 +1,2 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerCloudCommands(program: Command): void;