@@ -36,14 +36,14 @@ php command.php export-import export --format=json --export-path="build/ExportIm
36
36
php command.php export-import import --format=json --import-path="build/ExportImport/Import" --import-type=createAndUpdate"
37
37
```
38
38
39
- ## Configuration
39
+ ## Parameters
40
40
41
41
### Export Path
42
42
43
43
Define an export path.
44
44
45
45
- Attribute: ` exportPath `
46
- - CLI attribute: ` export-path `
46
+ - CLI attribute: ` -- export-path="PATH" `
47
47
- Possible values:
48
48
- ` any string `
49
49
- Default: ` build/ExportImport/Export `
@@ -53,53 +53,75 @@ Define an export path.
53
53
Define an import path.
54
54
55
55
- Attribute: ` importPath `
56
- - CLI attribute: ` import-path `
56
+ - CLI attribute: ` -- import-path="PATH" `
57
57
- Possible values:
58
58
- ` any string `
59
59
- Default: ` build/ExportImport/Import `
60
60
61
61
The export / import process can be configured in ` custom/Espo/Custom/Resources/metadata/app/exportImport.json ` or by cli command.
62
62
63
+ ### Entity Type List
64
+
65
+ The needed Entity type list can be defined. If empty, then gets all Entity types.
66
+
67
+ - Attribute: ` entityTypeList `
68
+ - CLI attribute: ` --entity-type-list-list="ENTITY_TYPE1, ENTITY_TYPE2" `
69
+ - Possible values:
70
+ - ` a string ` , e.g. ` "Account" `
71
+ - ` a string which is separated by a comma ` , e.g. ` "Account, Contact" `
72
+ - Default: ` all available entities `
73
+
63
74
### Import Type
64
75
65
76
The type of importing data.
66
77
67
78
- Attribute: ` importType `
68
- - CLI attribute: ` import-type `
79
+ - CLI attribute: ` -- import-type="TYPE" `
69
80
- Possible values:
70
81
- ` create `
71
82
- ` createAndUpdate `
72
83
- ` update `
73
84
- Default: ` createAndUpdate `
74
85
75
- ### User active status
86
+ ### Pretty Print
87
+
88
+ Store data in pretty print format.
89
+
90
+ - Attribute: ` prettyPrint `
91
+ - CLI attribute: ` --pretty-print `
92
+ - Possible values:
93
+ - ` true `
94
+ - ` false `
95
+ - Default: ` false `
96
+
97
+ ### User Active Status
76
98
77
99
Default user status for imported users. This applies to all user except admin user with ID ` 1 ` .
78
100
79
101
- Attribute: ` userActive `
80
- - CLI attribute: ` user-active `
102
+ - CLI attribute: ` -- user-active`
81
103
- Possible values:
82
104
- ` true `
83
105
- ` false `
84
106
- Default: ` false `
85
107
86
- ### User password
108
+ ### User Password
87
109
88
110
User password for imported users.
89
111
If empty then generates random values. For resetting the password use ` php command.php set-password [username] ` .
90
112
91
113
- Attribute: ` userPassword `
92
- - CLI attribute: ` user-password `
114
+ - CLI attribute: ` -- user-password`
93
115
- Possible values:
94
116
- ` any string `
95
117
- Default: ` null `
96
118
97
- ### Default currency
119
+ ### Default Currency
98
120
99
121
The default currency can be defined for every currency field.
100
122
101
123
- Attribute: ` updateCurrency `
102
- - CLI attribute: ` update-currency `
124
+ - CLI attribute: ` -- update-currency`
103
125
- Possible values:
104
126
- ` true `
105
127
- ` false `
@@ -110,7 +132,18 @@ The default currency can be defined for every currency field.
110
132
Export / import all customization made for the instance.
111
133
112
134
- Attribute: ` customization `
113
- - CLI attribute: ` customization `
135
+ - CLI attribute: ` --customization `
136
+ - Possible values:
137
+ - ` true `
138
+ - ` false `
139
+ - Default: ` false `
140
+
141
+ ### Config
142
+
143
+ Export / import all customization made for the instance.
144
+
145
+ - Attribute: ` config `
146
+ - CLI attribute: ` --config `
114
147
- Possible values:
115
148
- ` true `
116
149
- ` false `
@@ -121,29 +154,29 @@ Export / import all customization made for the instance.
121
154
The current time will be defined for the createAt field.
122
155
123
156
- Attribute: ` updateCreatedAt `
124
- - CLI attribute: ` update-created-at `
157
+ - CLI attribute: ` -- update-created-at`
125
158
- Possible values:
126
159
- ` true `
127
160
- ` false `
128
161
- Default: ` false `
129
162
130
- ### Hard export entity type list
163
+ ### Hard Export Entities
131
164
132
165
This option enables export feature for an entity which is disabled in ` exportImportDefs ` .
133
166
134
167
- Attribute: ` hardExportList `
135
- - CLI attribute: ` hard-export-list `
168
+ - CLI attribute: ` -- hard-export-list="ENTITY_TYPE" `
136
169
- Possible values:
137
170
- ` a string ` , e.g. ` "Account" `
138
171
- ` a string which is separated by a comma ` , e.g. ` "Account, Contact" `
139
172
- Default: ` null `
140
173
141
- ### Hard import entity type list
174
+ ### Hard Import Entities
142
175
143
176
This option enables import feature for an entity which is disabled in ` exportImportDefs ` .
144
177
145
178
- Attribute: ` hardImportList `
146
- - CLI attribute: ` hard-import-list `
179
+ - CLI attribute: ` hard-import-list="ENTITY_TYPE" `
147
180
- Possible values:
148
181
- ` a string ` , e.g. ` "Account" `
149
182
- ` a string which is separated by a comma ` , e.g. ` "Account, Contact" `
0 commit comments