We’ve just released Archi version 4.1. In addition to many fixes and small features we’ve added support for a Command Line Interface. This means that you can potentially run batch commands without launching Archi in the UI. We’ve added core support and initial support for HTML Report generation for Archi itself, and for the Collaboration plug-in.
Once Archi 4.1 is installed in the target location, you can generate a HTML report into a given folder from an existing *.archimate file like this:
Archi -consoleLog -console -nosplash -application com.archimatetool.commandline.app -HTMLReport_InputFile "/pathtofile/test.archimate" -HTMLReport_OutputFolder "/outputfolder"
For the Collaboration plug-in you can clone an ArchiMate model in an online repository to a given folder, and generate a HTML report to another folder like this:
Archi -consoleLog -console -nosplash -application com.archimatetool.commandline.app -GenerateHTMLReport_CloneFolder "/path/clonefolder" -GenerateHTMLReport_ReportFolder "/path/reportfolder" -GenerateHTMLReport_URL "https://bitbucket.org/thought_leaders_are_us/my-repo.git" -GenerateHTMLReport_UserName "firstname.lastname@example.org" -GenerateHTMLReport_Password "password"
It’s also possible to trigger this from a git hook if you are using GitBlit or a similar repository. So, if a username and password is not set, the model will not be cloned from the on-line repository but will instead take the existing local model repository in the given clone folder and then generate the HTML report. This allows for the case where the model may already have been cloned by another process.
Additional and bespoke Command Line functionality is possible should you require it. See our Support page and contact us if you wish to discuss this further.