Skip to end of banner
Go to start of banner

Examples

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 118 Next »

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.



getApp

--action getApp --app "org.swift.confluence.cli" --dateFormat "yyyy.MM.dd"

getAppList

--action getAppList --includeSystem --includeDisabled
--action getAppList --outputFormat 999 --outputType "text" --columns "name,key,attention,enabled,validlicense,licensemessage"
--action getAppList --regex ".*CLI.*" --includeDisabled

getClientInfo

--action getClientInfo

installApp

--action installApp --app "org.swift.confluence.cli" --wait

removeLicense

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

run

--action run --continue --input "web -a webRequest --url https://confluencecli.bobswift.appfire.app/atlassian-connect.json" --input "web -a webRequest --url https://jiracli.bobswift.appfire.app/atlassian-connect.json" --input "confluence30 -a installApp --app @default" --input "jira30 -a installApp --app @default" --input "confluence30 -a getApp --app @default" --input "jira30 -a getApp --app @default"
  • No labels