to Depth Of
A friendly-syntax approach to including collections of projects
projectCollections {
"apps" toDepthOf 1
"components" toDepthOf 1
"design-system" toDepthOf 1
"features" toDepthOf 2
// implies "features/first/project-a", "features/first/project-b", "features/second/project-a", etc...
}Content copied to clipboard
Receiver
A String interpreted as the top-level directory name
Parameters
depth
An Int indicating how deep into the top-level directory members we are required to traverse