Update cli test authored by Martin Straka's avatar Martin Straka
......@@ -38,4 +38,31 @@ Example:
datovka --login "username='xxxxxx'" --export-msgs "dmType='received',exportPath='C:\temp\',exportMsgType='all',exportDelInfo='all',fromDate='2024-01-01'"
```
**--import-msg**
* *importFile* - Path to existing zfo file for import. [Mandatory]
* *verifyIsds* - Verify zfo file on ISDS before import. Values: {no,yes}, default is no. [Optional]
Return
* [status] - 0 is success, 1 error.
* Message/envelope/delivery info ZFO/PDF file saved to target path if was set.
* if an error then error code and its description are writing into stderr.
Example:
```
datovka --login "username='xxxxxx'" --import-msg "importFile='C:\temp\123456.zfo',verifyIsds='yes'"
**--import-msgs**
* *importDir* - Path to existing folder for immport. [Mandatory]
* *includeSubDirs* - Include subdirs into import. Values: {no,yes}, default is yes. [Optional]
* *verifyIsds* - Verify zfo file on ISDS before import. Values: {no,yes}, default is no. [Optional]
Return
* [status] - 0 is success, 1 error.
* Message/envelope/delivery info ZFO/PDF file saved to target path if was set.
* if an error then error code and its description are writing into stderr.
Example:
```
datovka --login "username='xxxxxx'" --import-msgs "importFile='C:\temp\',includeSubDirs='yes',verifyIsds='yes'"