CLI Console

Description

All clients support a console mode by simply running the run action. This is useful if you want to manually run a bunch of different actions.

Example - Jira Client

Start
acli examplegear.jira -a run --continue 
Console
-a getServerInfo --outputFormat 2

Run: -a getServerInfo --outputFormat 2
Server info: 

Product . . . . . . . . . . . : Jira
Version . . . . . . . . . . . : 1001.0.0-SNAPSHOT
Base URL  . . . . . . . . . . : https://examplegear.atlassian.net
Title . . . . . . . . . . . . : Jira
Build . . . . . . . . . . . . : 100066
Build date  . . . . . . . . . : 10/16/17 8:00 PM
Current time  . . . . . . . . : 10/17/17 12:18 PM
License information . . . . . : License is valid.
Response time (milliseconds)  : 1357

-a getProjectList

Run: -a getProjectList
1 projects in list
"Key","Id","Name","Description","Lead","Default Assignee","Project Type","Project URL","JIRA URL"
"TEST","10000","Test","","automation","","software","","https://examplegear.atlassian.net/browse/TEST"

-a getIssueList --help

Run: -a getIssueList --help

getIssueList - List issues for a JQL query or by project.
    Required parameters: jql or project
    Optional parameters: file, dateFormat, limit, withId, suppressId, outputFormat, columns, encoding, append
    Output formats: 1 - default, 2 or 4 - custom fields, 3 or 4 - security level, 5 - 4 plus time values, 101 - issue keys only, 998 - all except custom, 999 - all

Example - All Clients

Start
acli -a run --continue 
Console
examplegear.jira -a getServerInfo --outputFormat 2

Run: examplegear.jira -a getServerInfo --outputFormat 2
Server info: 

Product . . . . . . . . . . . : Jira
Version . . . . . . . . . . . : 1001.0.0-SNAPSHOT
Base URL  . . . . . . . . . . : https://examplegear.atlassian.net
Title . . . . . . . . . . . . : Jira
Build . . . . . . . . . . . . : 100066
Build date  . . . . . . . . . : 10/16/17 8:00 PM
Current time  . . . . . . . . : 10/17/17 12:25 PM
License information . . . . . : Not available for this Cloud instance.
Response time (milliseconds)  : 105

examplegear.confluence -a getServerInfo --outputFormat 2

Run: examplegear.confluence -a getServerInfo --outputFormat 2
Server info: 

Product . . . . . . . . . . . : Confluence
Version . . . . . . . . . . . : 1000.0.0
Base URL  . . . . . . . . . . : https://examplegear.atlassian.net/wiki
Build . . . . . . . . . . . . : 6452
License information . . . . . : License is valid.
Response time (milliseconds)  : 498