You can use the following command arguments in the command line to generate a report from Teamwork Server.


See the following for more examples of how to generate a project from a specific branch and/or a specific version.

ExampleCommand argument
Generating a project without specifying its branch.generate -project "MyProject" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator"
Generating a project from the branch release.

generate -project "MyProject##release" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator"

Generating a specific version of a project without specifying its branch.

generate -project "MyProject" -pversion "2" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator"

Generating a specific version of a project from the branch release.

generate -project "MyProject##release" -pversion "2" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator"

Generating a set of reports from a specific tag.generate -project "MyProject" -tag "Finish" -incremental true -ouput "C:/output/out.docx" -template "Class Specification Report" -package "Model" -server "localhost" -login "Administrator" -password "Administrator"