@hasna/contacts 0.6.17 → 0.6.19

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
@@ -31,14 +31,18 @@ contacts-serve
31
31
 
32
32
  ## Cloud Sync
33
33
 
34
- This package supports cloud sync via `@hasna/cloud`:
34
+ This package supports optional cloud sync to a PostgreSQL database:
35
35
 
36
36
  ```bash
37
- cloud setup
38
- cloud sync push --service contacts
39
- cloud sync pull --service contacts
37
+ export HASNA_CONTACTS_CLOUD_DATABASE_URL="postgres://..."
38
+ contacts cloud status
39
+ contacts cloud push
40
+ contacts cloud pull
40
41
  ```
41
42
 
43
+ The cloud URL can also be provided as `OPEN_CONTACTS_CLOUD_DATABASE_URL` or
44
+ `CONTACTS_CLOUD_DATABASE_URL`.
45
+
42
46
  ## Data Directory
43
47
 
44
48
  Data is stored in `~/.hasna/contacts/`.
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerCloudCommands(program: Command): void;
3
+ //# sourceMappingURL=cloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../src/cli/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+BzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6C5D"}