@jezweb/jezpress-cli 1.7.0 → 1.9.0

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 (61) hide show
  1. package/README.md +61 -1
  2. package/dist/cli.js +17 -1153
  3. package/dist/cli.js.map +1 -1
  4. package/dist/client.d.ts +209 -10
  5. package/dist/client.d.ts.map +1 -1
  6. package/dist/client.js +164 -4
  7. package/dist/client.js.map +1 -1
  8. package/dist/commands/auth.d.ts +7 -0
  9. package/dist/commands/auth.d.ts.map +1 -0
  10. package/dist/commands/auth.js +56 -0
  11. package/dist/commands/auth.js.map +1 -0
  12. package/dist/commands/docs.d.ts +7 -0
  13. package/dist/commands/docs.d.ts.map +1 -0
  14. package/dist/commands/docs.js +41 -0
  15. package/dist/commands/docs.js.map +1 -0
  16. package/dist/commands/plugins.d.ts +7 -0
  17. package/dist/commands/plugins.d.ts.map +1 -0
  18. package/dist/commands/plugins.js +518 -0
  19. package/dist/commands/plugins.js.map +1 -0
  20. package/dist/commands/sites/bulk.d.ts +7 -0
  21. package/dist/commands/sites/bulk.d.ts.map +1 -0
  22. package/dist/commands/sites/bulk.js +80 -0
  23. package/dist/commands/sites/bulk.js.map +1 -0
  24. package/dist/commands/sites/export.d.ts +7 -0
  25. package/dist/commands/sites/export.d.ts.map +1 -0
  26. package/dist/commands/sites/export.js +85 -0
  27. package/dist/commands/sites/export.js.map +1 -0
  28. package/dist/commands/sites/index.d.ts +7 -0
  29. package/dist/commands/sites/index.d.ts.map +1 -0
  30. package/dist/commands/sites/index.js +406 -0
  31. package/dist/commands/sites/index.js.map +1 -0
  32. package/dist/commands/themes.d.ts +7 -0
  33. package/dist/commands/themes.d.ts.map +1 -0
  34. package/dist/commands/themes.js +403 -0
  35. package/dist/commands/themes.js.map +1 -0
  36. package/dist/flare/detect.d.ts +18 -0
  37. package/dist/flare/detect.d.ts.map +1 -0
  38. package/dist/flare/detect.js +130 -0
  39. package/dist/flare/detect.js.map +1 -0
  40. package/dist/flare/html-to-content.d.ts +21 -0
  41. package/dist/flare/html-to-content.d.ts.map +1 -0
  42. package/dist/flare/html-to-content.js +233 -0
  43. package/dist/flare/html-to-content.js.map +1 -0
  44. package/dist/flare/index.d.ts +62 -0
  45. package/dist/flare/index.d.ts.map +1 -0
  46. package/dist/flare/index.js +566 -0
  47. package/dist/flare/index.js.map +1 -0
  48. package/dist/flare/types.d.ts +171 -0
  49. package/dist/flare/types.d.ts.map +1 -0
  50. package/dist/flare/types.js +6 -0
  51. package/dist/flare/types.js.map +1 -0
  52. package/dist/mcp.js +0 -0
  53. package/dist/utils/plugin-headers.d.ts +14 -0
  54. package/dist/utils/plugin-headers.d.ts.map +1 -0
  55. package/dist/utils/plugin-headers.js +52 -0
  56. package/dist/utils/plugin-headers.js.map +1 -0
  57. package/dist/utils/theme-headers.d.ts +31 -0
  58. package/dist/utils/theme-headers.d.ts.map +1 -0
  59. package/dist/utils/theme-headers.js +73 -0
  60. package/dist/utils/theme-headers.js.map +1 -0
  61. package/package.json +4 -3
package/README.md CHANGED
@@ -93,6 +93,66 @@ jezpress plugins delete-version <slug> <version> --yes
93
93
  jezpress plugins transfer <slug> <new-owner@jezweb.net> --yes
94
94
  ```
95
95
 
96
+ ### Site Management
97
+
98
+ ```bash
99
+ # List all registered sites
100
+ jezpress sites list
101
+ jezpress sites list --sort status --table
102
+
103
+ # Site details and health
104
+ jezpress sites info <domain>
105
+ jezpress sites check <domain>
106
+
107
+ # View installed plugins on a site
108
+ jezpress sites plugins <domain>
109
+
110
+ # Clear site's update cache
111
+ jezpress sites clear-cache <domain>
112
+
113
+ # Trigger plugin updates
114
+ jezpress sites update <domain>
115
+
116
+ # Bulk operations
117
+ jezpress sites scan-all # Check all sites
118
+ jezpress sites update-all # Update all sites
119
+ ```
120
+
121
+ ### Site Export
122
+
123
+ ```bash
124
+ # Export site content (pages, posts, menus, media)
125
+ jezpress sites export <domain>
126
+
127
+ # Export formats
128
+ jezpress sites export <domain> --format raw # Full WordPress JSON
129
+ jezpress sites export <domain> --format flare # Flare CMS components
130
+ jezpress sites export <domain> --format markdown # Human-readable summary
131
+ jezpress sites export <domain> --format widgets # AI context for rebuilding
132
+
133
+ # View site config (theme, Elementor globals)
134
+ jezpress sites config <domain>
135
+
136
+ # View site diagnostics
137
+ jezpress sites diagnostics <domain>
138
+
139
+ # Get AI knowledge bundle
140
+ jezpress sites ai <domain>
141
+ ```
142
+
143
+ ### Platform Documentation
144
+
145
+ ```bash
146
+ # Display full JezPress platform guide
147
+ jezpress docs
148
+
149
+ # Save guide to file
150
+ jezpress docs --save
151
+
152
+ # Generate CLAUDE.md with JezPress context
153
+ jezpress docs --claude
154
+ ```
155
+
96
156
  ## MCP Server Alternative
97
157
 
98
158
  For Claude Code integration, use the remote MCP server instead:
@@ -105,7 +165,7 @@ claude mcp add -s user --transport http jezpress https://mcp.jezpress.com/mcp
105
165
  claude mcp add --transport http jezpress https://mcp.jezpress.com/mcp
106
166
  ```
107
167
 
108
- The remote MCP server provides the same functionality as the CLI with 13 tools.
168
+ The remote MCP server provides the same functionality as the CLI (plugin management and site operations).
109
169
 
110
170
  ## Security
111
171