You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
*`type`: describe the command type to execute. Can be: `folders`, `components`, `stories`, `datasources` or `roles`. It's possible pass multiple types separated by comma (`,`).
248
248
*`source`: the source space to use to sync
249
249
*`target`: the target space to use to sync
250
-
*`starts-with`: sync only stories that starts with the given string
251
-
*`filter`: sync stories based on the given filter. Required Options: Required options: `--keys`, `--operations`, `--values`
252
-
*`keys`: Multiple keys should be separated by comma. Example: `--keys key1,key2`, `--keys key1`
253
-
*`operations`: Operations to be used for filtering. Can be: `is`, `in`, `not_in`, `like`, `not_like`, `any_in_array`, `all_in_array`, `gt_date`, `lt_date`, `gt_int`, `lt_int`, `gt_float`, `lt_float`. Multiple operations should be separated by comma.
.requiredOption('--type <TYPE>','Define what will be sync. Can be components, folders, stories, datasources or roles')
272
272
.requiredOption('--source <SPACE_ID>','Source space id')
273
273
.requiredOption('--target <SPACE_ID>','Target space id')
274
-
.option('--starts-with <STARTS_WITH>','Sync only stories that starts with the given string')
275
-
.option('--filter','Enable filter options to sync only stories that match the given filter. Required options: --keys; --operations; --values')
276
-
.option('--keys <KEYS>','Field names in your story object which should be used for filtering. Multiple keys should separated by comma.')
277
-
.option('--operations <OPERATIONS>','Operations to be used for filtering. Can be: is, in, not_in, like, not_like, any_in_array, all_in_array, gt_date, lt_date, gt_int, lt_int, gt_float, lt_float. Multiple operations should be separated by comma.')
278
-
.option('--values <VALUES>','Values to be used for filtering. Any string or number. If you want to use multiple values, separate them with a comma. Multiple values should be separated by comma.')
279
274
.option('--components-groups <UUIDs>','Synchronize components based on their group UUIDs separated by commas')
280
275
.action(async(options)=>{
281
276
console.log(`${chalk.blue('-')} Sync data between spaces\n`)
0 commit comments