Skip to main content

findPaths()

Home > @backstage/cli-common > findPaths

Find paths related to a package and its execution context.

Signature:

function findPaths(searchDir: string): Paths;

Parameters

ParameterTypeDescription
searchDirstring

Returns:

Paths

Example

const paths = findPaths(__dirname)