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 134 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 "com.atlassian.upm.atlassian-universal-plugin-manager-plugin"
--action getApp --vendor "1221170" --app "Wiki Markup for Confluence" --includeArchived
--action getApp --vendor "1221170" --app "org.swift.confluence.acli" --dateFormat "yyyy-MM-dd"
--action getApp --vendor "1221170" --app "org.swift.confluence.table" --dateFormat "yyyy-MM-dd"
--action getApp --vendor "1221170" --app "org.swift.jira.cli" --dateFormat "yyyy-MM-dd"
--action getApp --vendor "1221170" --app "wiki" --includeArchived

getAppList

--action getAppList --file "build/output/search/getAppListAll.txt" --searchType "all" --outputFormat 101
--action getAppList --search "who's looking" --outputFormat 2 --dateFormat "yyyy-MM-dd"
--action getAppList --searchType "all" --search "cli" --application "confluence" --hosting "cloud" --outputFormat 101
--action getAppList --searchType "all" --search "org.swift" --outputFormat 101
--action getAppList --searchType "all" --search "sql" --application "confluence" --hosting "dataCenter" --outputFormat 101
--action getAppList --searchType "all" --search "sql" --application "confluence" --hosting "server" --outputFormat 101
--action getAppList --searchType "sales" --search "table" --application "confluence" --outputFormat 101
--action getAppList --searchType "sales" --search "table" --outputFormat 101
--action getAppList --vendor "1221170" --includeArchived --columns "-description,-vendor name,summary" --regex "org.swift.*"
--action getAppList --vendor "1221170" --lastUpdated "-30 day" --columns "name,key,last modified" --outputFormat 2 --dateFormat "yyyy-D"
--action getAppList --vendor "1221170" --outputFormat 2 --limit 1 --regex ".*jira.cli" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

getApplicationList

--action getApplicationList

getPrice

--action getPrice --vendor "1221170" --app "bamboo.cli" --edition "0"
--action getPrice --vendor "1221170" --app "table" --edition "10 users"
--action getPrice --vendor "1221170" --app "table" --edition "unlimited"

getPriceList

--action getPriceList --file "build/output/prices/getPriceListAll.txt" --vendor "1221170" --app "@ALL" --hosting "@all"
--action getPriceList --vendor "1221170" --app "org.swift.jira.cli" --hosting "@all" --columns "-1,2,4,8,9,10,15" --outputType "text" --options "tableNoWrap"
--action getPriceList --vendor "1221170" --app "org.swift.jira.cli" --hosting "datacenter" --columns "-1,2,4,8,9,10,15" --outputType "text" --options "tableNoWrap"
--action getPriceList --vendor "1221170" --app "table"

getPricingInfo

--action getPricingInfo --vendor "1221170" --app "table" --dateFormat "yyyy-MM-dd"

getReview

--action getReview --app "org.swift.jira.cli" --reviewId "1974625" --dateFormat "yyyy-MM-dd"

getReviewList

--action getReviewList --app "org.swift.jira.cli" --dateFormat "yyyy-MM-dd"
--action getReviewList --app "org.swift.jira.cli" --dateFormat "yyyy-MM-dd" --columns "-1,2,4,7" --outputType "table" --regex ".*((Dale Keller)|(extremely grateful)|(4-star review)).*"
--action getReviewList --app "org.swift.jira.cli" --dateFormat "yyyy-MM-dd" --columns "helpful votes,app,review,response" --outputType "text" --options "sort=helpful" --limit 3

getVendor

--action getVendor --vendor "1221170"
--action getVendor --vendor "@appfire"
--action getVendor --vendor "Appfire"

getVendorList

--action getVendorList --limit 10 --hasPublicApps
--action getVendorList --outputFormat 2 --limit 4 --hasPublicApps
--action getVendorList --regex ".*Appfire.*" --options "text=appfire"

getVersion

--action getVersion --app "org.swift.jira.cli"
--action getVersion --app "org.swift.jira.cli" --hosting "datacenter"
--action getVersion --vendor "1221170" --app "atlassian.cli" --version "9900"
--action getVersion --vendor "1221170" --app "confluence.table" --version "700"
--action getVersion --vendor 1212980 --app "com.atlassian.plugins.confluence.markdown.confluence-markdown-macro" --version "1.6.22"

getVersionList

--action getVersionList --file "build/output/apps/getVersionListAll.txt" --vendor "1221170" --app "@ALL" --limit 100
--action getVersionList --vendor "1221170" --app "confluence.cli" --hosting "cloud" --columns "version, version name, cloud, server, data center"
--action getVersionList --vendor "1221170" --app "confluence.cli" --hosting "datacenter" --columns "version, version name, cloud, server, data center"
--action getVersionList --vendor "1221170" --app "confluence.table" --columns "Version, Version Name, Release Date"
--action getVersionList --vendor "1221170" --app "confluence.table" --regex "7\\d{2}" --limit 9 --dateFormat "yyyy-MM-dd"

runFromAppList

--action runFromAppList --vendor "1221170" --common "--action getApp --vendor 1221170 --app @app@ --file build/output/apps/@app@.txt --append" --clearFileBeforeAppend --options "parallel=4" --regex "org.swift.*"

runFromReviewList

--action runFromReviewList --app "org.swift.jira.cli" --dateFormat "yyyy-MM-dd" --quiet --common "--quiet --app org.swift.jira.cli" --input "-a getReview --reviewId @reviewId@" --limit 3
  • No labels