---
title: "runFromHookList"
canonical: "https://support.appfire.com/space/SCLI/262832722/runFromHookList"
format: markdown
---
See also: [Actions](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368507)

> Macro (details)
> 
> | **Description** | Run actions for hooks available for a project or repository with regex filtering on key and name. Use the enabled parameter to list only enabled hooks. Use outputFormat 2 or higher to get the hookConfiguration replacement variable. |
> | --- | --- |
> | **Required Parameters** | [project](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368805), ([input](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371353) or [common](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370645) or [file](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370741)) |
> | **Optional Parameters** | [repository](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368867), [enabled](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371371), [outputFormat](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371413), [regex](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371597), [limit](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371427), [continue](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371170), [simulate](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368863), [field](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371343), [encoding](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368755), [clearFileBeforeAppend](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371184), [findReplace](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370579), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370799), [options](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371383) |
> | **Type** | [Run](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Run) |
> | **Category** | [Hooks](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Hooks) |
> | **Output Formats** |  |
> | **Replacement Variables** | project, projectId, projectUrl, repository, repositoryId, repositoryUrl, hook, hookName, hookConfiguration |
> | **Hosting** | server,datacenter |
> | **Since Version** | 11.0 |
> | **Examples** | [runFromHookList](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-runFromHookList) |

## Related How To's

> Macro (cql-query)