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

> Macro (details)
> 
> | **Description** | Get file data from a repository path at a default or specific revision. Normally for source text, but binary data can also be retrieved to a file. |
> | --- | --- |
> | **Required Parameters** | [project](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368805), [repository](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368867), [path](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73372206) |
> | **Optional Parameters** | [revision](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73372238), [file](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370741), [encoding](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368755), [append](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370891) |
> | **Type** | [Get](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Get) |
> | **Category** | [Content](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Content) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** |  |
> | **Since Version** |  |
> | **Examples** | [getSource](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-getSource) |

## Related How To's

> Macro (cql-query)