directus-template-cli 0.6.0-beta.1 → 0.6.0-beta.2

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
@@ -181,6 +181,18 @@ Using email/password:
181
181
  npx directus-template-cli@latest extract -p --templateName="My Template" --templateLocation="./my-template" --userEmail="admin@example.com" --userPassword="admin" --directusUrl="http://localhost:8055"
182
182
  ```
183
183
 
184
+ Skipping extracting content from sensitive or large collections:
185
+
186
+ ```
187
+ npx directus-template-cli@latest extract -p --templateName="My Template" --templateLocation="./my-template" --directusToken="admin-token-here" --directusUrl="http://localhost:8055" --excludeCollections="posts,globals"
188
+ ```
189
+
190
+ Skipping extracting files and assets:
191
+
192
+ ```
193
+ npx directus-template-cli@latest extract -p --templateName="My Template" --templateLocation="./my-template" --directusToken="admin-token-here" --directusUrl="http://localhost:8055" --skipFiles
194
+ ```
195
+
184
196
  Available flags for programmatic mode:
185
197
 
186
198
  - `--directusUrl`: URL of the Directus instance to extract the template from (required)
@@ -189,6 +201,8 @@ Available flags for programmatic mode:
189
201
  - `--userPassword`: Password for Directus authentication (required if not using token)
190
202
  - `--templateLocation`: Directory to extract the template to (required)
191
203
  - `--templateName`: Name of the template (required)
204
+ - `--excludeCollections`: Comma-separated list of collection names to exclude from extraction
205
+ - `--skipFiles`: Skip extracting files and assets
192
206
 
193
207
  #### Using Environment Variables
194
208
 
@@ -299,5 +299,5 @@
299
299
  ]
300
300
  }
301
301
  },
302
- "version": "0.6.0-beta.1"
302
+ "version": "0.6.0-beta.2"
303
303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directus-template-cli",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0-beta.2",
4
4
  "description": "CLI Utility for applying templates to a Directus instance.",
5
5
  "author": "bryantgillespie @bryantgillespie",
6
6
  "bin": {