Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "xeno-test", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This utility enables users to export & import content data from / to Kontent.ai projects", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
{ | ||
"name": "xeno-test", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This utility enables users to export & import content data from / to Kontent.ai projects", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
{ | ||
"name": "xeno-test", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This utility enables users to export & import content data from / to Kontent.ai projects", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
{ | ||
"name": "xeno-test", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This utility enables users to export & import content data from / to Kontent.ai projects", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
@@ -39,3 +39,3 @@ # Kontent.ai CSV Manager | ||
| **action** | Action. Possible values are: `restore` & `backup` **(required)** | | ||
| zipFilename | Name of zip used for export / restoring data. (e.g. 'kontent-backup'). | | ||
| filename | Name of zip used for export / restoring data. (e.g. 'kontent-backup.zip'). When restoring data you may also use individual `*.csv` file. | | ||
| baseUrl | Custom base URL for Management API calls. | | ||
@@ -53,9 +53,10 @@ | exportAssets | Indicates if assets should be exported. Supported are `true` & `false` | | ||
To backup a project run: | ||
To backup data use: | ||
`csvm --action=backup --projectId=xxx` | ||
To restore a project run: | ||
To restore data use: | ||
`csvm --action=restore --apiKey=xxx --projectId=xxx --zipFilename=backupFile` | ||
`csvm --action=restore --apiKey=xxx --projectId=xxx --filename=backup.zip|data.csv` | ||
@@ -73,3 +74,3 @@ To get some help you can use: | ||
"projectId": "xxx", | ||
"zipFilename": "csv-backup", | ||
"filename": "csv-backup", | ||
"action": "backup", | ||
@@ -136,3 +137,3 @@ "baseUrl": null, | ||
// load file | ||
const zipFile = await fileService.loadFileAsync('backup'); | ||
const zipFile = await fileService.loadFileAsync('backup.zip'); | ||
@@ -139,0 +140,0 @@ const fileProcessorService = new FileProcessorService({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
740113
191