Skip to content

Function: appResources()

appResources(projectBoundary, cwd?): AsyncGenerator<AppResource, void, void>

Stream every App resource in bundles under projectBoundary.

cwd defaults to the current directory and may name a file or directory. Bundle files in its ancestor chain are checked before the rest of the project boundary. No App YAML file is required.

A missing or invalid boundary/cwd, or a cwd outside the boundary, yields nothing. A non-zero validation with partial JSON attaches bundleFailure to each App resource parsed from that bundle. A failed validation with no App resources yields nothing.

string

string

AsyncGenerator<AppResource, void, void>