System Client Action Categories
Automations
| getAutomation | Get information for an automations specified by name or directory or both. An automation is a directory containing a 'automation.yaml' description and optional ACLI script files or related resources. | |||
| getAutomationList | Get a list of automations with regex filtering on name. An automation is a directory containing a 'automation.yaml' description and optional ACLI script files or related resources. |
| ||
| runFromAutomationList | Run actions for each automation with regex filtering on name equivalent to getAutomationList. |
Files
| copyFiles | Copy a single file or files selected from a directory with regex filtering on path name. Use the file parameter to direct output to a target file or directory. When append is used, data will be appended to the target file if it already exists. If requested, find and replace logic will be applied to the source data before processing provided the file is text (has text mime type). Similarly, replacement variables will automatically be replaced with their values. Use continue to continue copying files from a directory even after there is an error copying a file. | |||
| getFileList | Get system file list from a directory with regex filtering on file path and satisfying other selection criteria. Use the directory parameter to identify the absolute or relative path to search for files matching selection criteria. | |||
| getFileMonitorList | Get list of file system events monitored for a given directory with regex filtering on file path and satisfying other selection criteria. Note that results are only produced once the monitor is stopped by either timeout or limit. | |||
| runFromFileList | Run actions for each file from a directory with regex filtering on file path and satisfying other selection criteria similar to getFileList. Run actions from a file, list of input parameters, or standard input similar to the run action. Use the directory parameter to identify the absolute or relative path to search for files matching selection criteria. | |||
| runFromFileMonitorList | Run actions for system file events from a directory with regex filtering on file path and satisfying other selection criteria similar to getFileList. Run actions from a file, list of input parameters, or standard input similar to the run action. Use the directory parameter to identify the absolute or relative path to monitor for events. Valid events are create, delete, and modify. Specify one or more event parameters. Use the limit or timeout parameter to control automatic stopping of the monitor process. | |||
| updatePropertyFile | Add, update, or remove properties from a property file. If the property file does not exist, an attempt will be made to create it. Special values for the propertyFile parameter are '@config' and '@service' for the ACLI configuration properties and ACLI service configuration properties respectfully. Use one or more field parameters where each field parameter is a key=value pair. An existing property with the same key will be replaced with the new value otherwise a new property will be added with the value. Properties with blank values will be removed. Comments and include references will be preserved. | |||
| writeFile | Save data or input lines into a file. For example, this can be used to create a temporary run script. If the file already exists, either use the replace or append parameters to avoid an error. Options are available to show or run the file after it it saved using '--options show' or '--options run'. |
Info
| getAuditLogList | Get a list of audit logs with optional regex filtering on log summary. Use startDate and endDate parameters for additional filtering based on log date range. Use '--options search=...' to filter by a simple text search on fields containing the given value. By default, at most 1000 entries are returned unless the limit parameter is explicitly set to something higher. |
| startDate, endDate, file, regex, limit, outputFormat, outputType, dateFormat, columns, select, options, encoding, append | |
| getClientInfo | Get information about this client. |
| outputFormat, outputType, file, limit, regex, append, encoding, columns, select, options | |
| getGraphqlResult | Get the result response from a GraphQL query or mutation request. If the query uses variables, some common variables will be automatically provided like $limit from the limit parameter. Other string variables can be provide by using one or more field parameters using ' key = value' syntax. If you need to provide an operation name especially when the query contains multiple named queries, use the name parameter. However, unfortunately, monday.com does not support setting the operation name nor having multiple operations specified with the query at the time of this note. Use '--query -' to get the query from standard input. Variable types other that strings must be provided with a JSON formatted data parameter. Use the simulate parameter to just log the query without running it. | |||
| getServerInfo | Get information about the Confluence server. |
| ||
| getSqlResultList | Get a list of results from a dynamic SQL query or other dynamic SQL request. Specify the SQL using the sql parameter or indirectly using '--sql @' to specify a file with SQL. Use a site configuration entry with database connection information either directly as a site for the action or indirectly as a reference on the database parameter like '--database @'. | |||
| getUpgradeInfo | Get information about upgrades available for this client. |
| ||
| help | Show general help information for the client including actions and parameters. When used on a partial action string, action specific help will be shown. |
|
| |
| provideFeedback | Provide feedback, comments, and suggestions to ACLI developers based on your experience with the product. We appreciate all feedback in the spirit of continuous improvement in helping customers with their tasks. For specific product issues and immediate help, please submit a request to our support portal at https://apps.appf.re/acli-support. |
| ||
| validateLicense | Validates the ACLI Connector is enabled and licensed on the server. |
|
|
Render
| render | If content is specified, it is rendered in the context of the page identified by id or space parameters where title defaults to space home page. If no context is specified, content is rendered without context. If content is not specified, then the context page or blog is rendered. If content is '-', content is read from standard input. Find and replace is applied to the rendered content. |
| id, space, title, content, file, dayOfMonth, month, year, clean, findReplace, findReplaceRegex, encoding | |
| renderRequest | Render URL based request. URL can be a partial URL. The response data modified by optional findReplace processing is returned. Use '--pretty' to format returned JSON data in a more readable form. If content parameters are provided like space and title, replacement variables are available and if no URL is provided will default to render the page using '/pages/viewpage.action?pageId=68455776'. |
Run
| run | Run actions from a file, list of input parameters, or standard input (default). Use one or more field parameters to set replacement variables that can be used in run script actions. This makes it possible to parameterize the script so it can be applied to more general use cases. For example, '--field project=MYPROJECT'. This capability is available for all run type actions. | |||
| runAutomation | Run an automation identified by name or directory or both. | |||
| runFromCsv | Run actions generated from a CSV file. The default behavior is that each column name that matches a valid parameter for the client generates a parameter with value matching the column value for the row being process. Alternatively, use '--options setReplacementVariables' to change the behavior to set a replacement variable whose key (case sensitive) is the column name with blanks removed and whose value is the value matching the column value for the row being processed. | |||
| runFromJson | Run actions based on JSON data used for replacement variables and list processing based on standard Json paths specified for list and list2 parameters. Valid JSON data must be provided using the data parameter or file parameter. Actions can be specified using input, common, or file (when not used for data) parameters. Replacement variables are defined from the JSON data using JsonPath naming convention with dot separators. See the JsonPath reference at https://github.com/json-path/JsonPath/blob/master/README.md. | |||
| runFromList | Run actions for each entry in a list with corresponding entry replacement variable. When file is provided, each action in the file augmented by the common parameter will be run for each entry. Otherwise, just the action specified by the common parameter will be run. When available, list2 entries provide values for the entry2 replacement variable. By default, the entry2 replacement variable is set in parallel with entry replacement variables for each action run. However, if '--options listProcessing=serial' is specified, each combination of entries from list and list2 will cause an action to run. Use one or more field parameters to set replacement variables that can be used in run script actions. This makes it possible to parameterize the script so it can be applied to more general use cases. For example, '--field project=MYPROJECT'. | |||
| runFromPropertyFile | Run actions for each entry from a (Java) property file. | propertyFile, (input or common or file) | ||
| runFromSql | Run actions generated by SQL provided by the sql parameter, a file, or standard input. Replacement variables will be set representing each column (case sensitive, blanks removed) in the result set and the corresponding column value for each row processed. | |||
| runIf | Run actions only if a regex based condition is met. Other parameters and behavior are the same as the run action. By default the regex is used for a find of the value parameter. The options parameter can be set to one or more of the following to modify the default behavior. literal - to treat the regex string as a literal string, exact - to require an exact match of the value, negative - to reverse the condition so a match means do NOT run action. In addition, use '--regex ""' to match on an empty string. Use one or more field parameters to set replacement variables that can be used in run script actions. This makes it possible to parameterize the script so it can be applied to more general use cases. For example, '--field project=MYPROJECT'. |
Security
| clearSecureProperties | Clears all secure properties by deleting the current user's secure properties file. Use with caution, this action CANNOT be undone! Prompts the user to confirm the action unless the --force parameter is provided. |
| ||
| exportSecureProperties | Exports secure properties from the user's own secure property file to an external file with a different password. Use the --replace parameter to overwrite existing values and the --exclude or --include parameters to filter. | |||
| getSecureProperty | Gets a property from the current user's secure secure properties file. Use --outputFormat 1 to test for existence and --outputFormat 2 to also return the associated value if present. | |||
| getSecurePropertyList | Gets the list of properties in the current user's secure properties file. Use --outputFormat 1 to list entry names and --outputFormat 2 to also return the associated secret values if present. |
| ||
| importSecureProperties | Imports secure properties from an external file with a different password to the user's own secure property file. Use the --replace parameter to overwrite existing values and the --exclude or --include parameters to filter. | |||
| removeSecureProperty | Remove a property from the current user's secure properties file. |
| ||
| setSecureProperty | Set a property in the current user's secure secure properties file. Use --replace to overwrite. |
