@zanfia/cli 0.3.10 → 0.3.26

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 +19 -0
  2. package/dist/index.js +9412 -3865
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -17,6 +17,25 @@ pnpm --filter @zanfia/cli dev auth whoami
17
17
  pnpm --filter @zanfia/cli dev --json products list
18
18
  ```
19
19
 
20
+ ## System emails
21
+
22
+ `zanfia emails` manages the customer-facing emails Zanfia sends in your name (Site → Emails):
23
+
24
+ ```bash
25
+ zanfia emails list # key, group, status, subject
26
+ zanfia emails get purchase-confirmation # subject/headline EN+PL, layout blocks, variables
27
+ zanfia emails set purchase-confirmation --subject-pl "Dzięki za zakup {{productName}}"
28
+ zanfia emails set access-ending-reminder --disable # optional emails only
29
+ zanfia emails set login-code --layout ./layout.json # full EmailBlock[] (inline JSON or file)
30
+ zanfia emails set login-code --reset # back to the stock email
31
+ zanfia emails branding get
32
+ zanfia emails branding set --accent-color "#2563eb" --reply-to none
33
+ zanfia emails test purchase-confirmation --lang en # queued to YOUR own address
34
+ ```
35
+
36
+ Raw HTTP: `GET|PATCH /email-templates`, `POST /email-templates/{key}/test-sends`. Full reference for every
37
+ command group: `.claude/skills/zanfia-cli/SKILL.md`.
38
+
20
39
  ## Auth resolution order
21
40
 
22
41
  1. `--api-key` flag