Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Aug 6, 2020
1 parent 4a7e97a commit b5a93bd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ Install package globally:

### Data types

* Start a line with a star
* Profit!
* taxonomy
* contentType
* contentTypeSnippet
* contentItem
* languageVariant
* language
* assetFolder
* binaryFile

### Execution

Expand Down Expand Up @@ -59,7 +65,8 @@ Create a `json` configuration file in the folder where you are attempting to run
"action": "backup",
"enableLog": true,
"force": true,
"baseUrl": null
"baseUrl": null,
"exportFilter: null
}
```

Expand All @@ -76,6 +83,7 @@ const run = async () => {
const exportService = new ExportService({
apiKey: 'sourceProjectApiKey',
projectId: 'sourceProjectId',
exportFilter: undefined,
onExport: item => {
// called when any content is exported
console.log(`Exported: ${item.title} | ${item.type}`);
Expand Down

0 comments on commit b5a93bd

Please sign in to comment.