Use the following parameters to create a project from the command line:
-add |
JSON file |
Full path to a JSON file containing
the data required for creating the project. |
Yes |
Example:
fluenta_cli.cmd -add addProject.json
Where the content of addProject.json
should be like:
{
"id": 12345678,
"title": "JSON test",
"description": "project created using JSON and CLI",
"map": "D:\\sample content\\en\\User_Guide-use-only.ditamap",
"srcLang": "en-US",
"tgtLang": [
"es",
"fr"
]
}
JSON Value Pairs
id |
Number |
Project identifier |
Yes |
title |
String |
Short text description for the project. This is the description displayed in
Fluenta's GUI |
Yes |
description |
String |
A longer text description for the project |
Yes |
map |
String |
Path to the project DITA map |
Yes |
srcLang |
String |
Language code for the original DITA content |
Yes |
tgtLang |
String Array |
An array containing the target languages for the project |
Yes |
memories |
Number Array |
An array containing the ids of existing memories to be associated with the
project |
No |