creght-cli 0.13.1 → 0.14.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.
package/README.md
CHANGED
|
@@ -167,6 +167,29 @@ creght project create --name="My Project" --from_id=<project_id>
|
|
|
167
167
|
creght project create --name="My Project" --tpl_id=<template_id>
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
+
## Site Templates
|
|
171
|
+
|
|
172
|
+
Browse the platform's project templates and start a project from one. `list`
|
|
173
|
+
and `get` show each template's name, description, categories, and a preview URL
|
|
174
|
+
you can open to see the template rendered:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
creght tpl list
|
|
178
|
+
creght tpl list --category_id=<id> --limit=20
|
|
179
|
+
creght tpl list --recommend
|
|
180
|
+
creght tpl categories
|
|
181
|
+
creght tpl get <template_id>
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Every command accepts `--json` for machine-readable output.
|
|
185
|
+
|
|
186
|
+
Once a template is chosen, create a project from it. The command prints the new
|
|
187
|
+
project's sites in `project_id/site_id` form, ready for `creght pull`:
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
creght tpl use <template_id> --name="My Project"
|
|
191
|
+
```
|
|
192
|
+
|
|
170
193
|
## Pull Site Workspace
|
|
171
194
|
|
|
172
195
|
Download the current remote site workspace into a local directory:
|
package/package.json
CHANGED
|
Binary file
|
package/vendor/darwin-x64/creght
CHANGED
|
Binary file
|
|
Binary file
|
package/vendor/linux-x64/creght
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|