Date: Fri, 29 Mar 2024 06:59:36 +0100 (CET) Message-ID: <687047676.1515.1711691976817@nm-docs> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1514_608929753.1711691976817" ------=_Part_1514_608929753.1711691976817 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Apart from the mandatory commands described in using the Generate command to generate reports, you can use the following command arguments in the command line to gener= ate a report from the Teamwork Cloud (TWCloud) server.
-usageelement specifi= es the name of one or more elements in the Project Usages of TWCloud project to be included in the= report. Element entries must be separated by a semi-colon (;).
Note
For TWCloud projects, -package / -element is used to select one or more packages/elements only in the Primary Mod= el of TWCloud projects. To select packages/elements in Project Usages, spec= ify -usagepackage / -usageelement. You ca= n also set -includeAuxiliary as true if you want to make a= uxiliary resources available for selection. This -usagepackage / -usageelement argument can be used with -pa= ckage / -element to select packages/elements in b= oth Primary Model and Project Usages.
If, for example, you want to generate a Web Publisher 2.0 report from a&= nbsp;TWCloud project by gett= ing the latest project version of the trunk branch, type the following:
generat= e -server "localhost" -login "Administrator" -password "Administrator" -ser= vertype "twcloud" -project "MyProject" -package "SamplePackage" -template "= Web Publisher 2.0" -output "D:\output\output.html"
The following code generates a Class = Specification Report report from the TWCloud project by getting the project= version number 10 from MyBranch branch of the MyProject project.
generat= e -server "localhost" -login "Administrator" -password "Administrator" -ser= vertype "twcloud" -project "MyProject" -branch "MyBranch" -pversion "10" -p= ackage "SamplePackage" -template "Web Publisher 2.0" -output "D:\output\out= put.html"
The following code generates a specific project version by specifying ta= gName.
generat= e -project "MyProject" -branch "TestingLine" -tag "Finish" -incremental tru= e -output "C:/output/out.docx" -template "Class Specification Report" -pack= age "SamplePackage" -server "localhost" -servertype "twcloud" -login "Admin= istrator" -password "Administrator"
The following code generates a report through an SSL secured connection.=
generat= e -project "MyProject" -package "Model" -template "Web Publisher 2.0" -outp= ut "D:\output\output.html" -server "localhost:1111" -login "Administrator" = -password "Administrator" -ssl "true"
The specified project version would b= e used to generate the report as a first priority, in case the specified pr= oject version does not belong in the specified branch.
Note
If the project version specified is not the latest, the -u= pdatemodule option would not affect the generate = command.
Related pages