Skip to content
Snippets Groups Projects
Commit c1418a41 authored by Martin Vogel's avatar Martin Vogel
Browse files

chore(cmd-runner): update docu

parent 07d9e605
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ java -jar client-1.0-SNAPSHOT.jar send
--leikaKey=urn:de:fim:leika:leistung:99400048079000
--attachments="C:/path/to/attachments/dummy1.pdf", "C:/path/to/attachments/dummy2.pdf"
--data="C:/path/to/data/date.json"
--dataType=JSON
--dataType=json
````
> Hint: copy example on one line for execution !
......@@ -76,7 +76,7 @@ Usage: <main class> [command] [command options]
Path to JSON or XML data
* --dataType
Data mime type (JSON/XML), default JSON
Possible Values: [JSON, XML]
Possible Values: [json, xml]
* --destinationId
Unique destination identifier in UUID format
* --leikaKey
......
......@@ -39,7 +39,7 @@ public class SendSubmissionCommand {
public
String data;
@Parameter(names = {"--dataType"}, arity = 1, description = "Data mime type (JSON/XML), default JSON", required = true)
@Parameter(names = {"--dataType"}, arity = 1, description = "Data mime type (json/xml), default JSON", required = true)
public
AttachmentDataType dataType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment