/
Examples


Examples

Action usage examples

Examples give users ideas on actual usage. We use automation to generate, test, and run these actions, so names and combinations may be odd or repetitive (wink). In many cases, other actions or environmental setup is required for the action to run, so you will need to adjust the action parameters and setup appropriate for your environment. 

Command line environments can be different, especially between Windows and non-Windows systems. Our Tips page talks about command line escaping differences and there are differences with respect to environment variable references ($ for non-Windows and %...% for Windows). These differences can impact examples, so recognize and adjust for your platform. In particular, all examples here are run with the standard bash shell on Linux.



addLicense

--action addLicense --app "org.swift.confluence.html" --file "-"
--action addLicense --app "org.swift.confluence.html" --file "build/output/upmcli"

addLicenses

--action addLicenses --file "build/output/upmcli/licenses"

getApp

--action getApp --app "Cache for Confluence"
--action getApp --app "com.atlassian.upm.atlassian-universal-plugin-manager-plugin"
--action getApp --app "org.swift.confluence.cache"
--action getApp --app "org.swift.confluence.html" --dateFormat "yyyy.MM.dd"

getAppList

--action getAppList --includeSystem --includeDisabled
--action getAppList --outputFormat 999 --columns "name, key, version, application version, marketplace latest compatible version, marketplace latest version"
--action getAppList --regex "((Cache for Confluence)|(Bob Swift.*))"
--action getAppList --regex ".*HTML.*" --outputFormat 2 --dateFormat "yyyy.MM.dd"

getClientInfo

--action getClientInfo

installApp

--action installApp --app "org.swift.confluence.cache" --simulate
--action installApp --app "org.swift.confluence.cache" --wait
--action installApp --app "org.swift.confluence.cache" --wait --options "uninstall"
--action installApp --file "/opt/atlassian/pipelines/agent/build/src/itest/upm/resources/bobswift-wiki-markup-1.4.0.jar" --wait
--action installApp --url "https://marketplace.atlassian.com/download/plugins/org.swift.confluence.cache/version/7991" --wait
--action installApp --url "https://marketplace.atlassian.com/download/plugins/org.swift.confluence.cache/version/7991" --wait --options "download"

removeLicense

--action removeLicense --app "org.swift.confluence.html"

runFromAppList

--action runFromAppList --limit 1 --common "-a getApp --app @app@"

Related content


Find answers from the community.

Ask a question to the community.

Log a request with our support team.


Copyright © 2005 - 2025 Appfire | All rights reserved.