| 1 | ## source |
| 2 | |
| 3 | [Alpha] Implement a Source by reading a local directory. |
| 4 | |
| 5 | ### Synopsis |
| 6 | |
| 7 | [Alpha] Implement a Source by reading a local directory. |
| 8 | |
| 9 | kustomize fn source DIR... |
| 10 | |
| 11 | DIR: |
| 12 | One or more paths to local directories. Contents from directories will be concatenated. |
| 13 | If no directories are provided, source will read from stdin as if it were a single file. |
| 14 | |
| 15 | `source` emits configuration to act as input to a function |
| 16 | |
| 17 | ### Examples |
| 18 | |
| 19 | # emity configuration directory as input source to a function |
| 20 | kustomize fn source DIR/ |
| 21 | |
| 22 | kustomize fn source DIR/ | your-function | kustomize fn sink DIR/ |