QuickPublish
LemonTree Components
Are defined in LemonTree Desktop learn more here: Components [LemonTree 3.0]
Command:
LemonTree.Automation.exe quickpublish --model={modelPath} --packageguid={GUID} –-componentfile={mpmsPath}
Argument | Description | Required |
---|---|---|
--model | The source 'Model' used to publish the 'Component'. | Yes |
--PackageGuid | The Guid of the 'Package' that shall be published. | Yes |
--ComponentFile | The File (*.mpms) used to save the published 'Component'. | Yes |
Powershell Example:
This "quick"-publishes a Package with the GUID given from "model.eap" as a single LemonTree Component file (.mpms). Main advantage being that the given packaged doesn't have to be configured.
#Powershell sees curly brackets as codeblocks so use quotations marks "{}" or just write your guids without them
C:\"Program Files"\LieberLieber\LemonTree.Automation\LemonTree.Automation.exe quickpublish --model model.eap
--componentfile .\component.mpms --packageguid "{c2791d98-4982-d2dd-449c-271ac0dbf1c2}"
echo Exitcode $LASTEXITCODE
pause