Skip to main content
Version: Next

findPaths()

Home > @backstage/cli-common > findPaths

Find paths related to a package and its execution context.

Signature:

function findPaths(searchDir: string): Paths;

Parameters

Parameter

Type

Description

searchDir

string

**Returns:**

Paths

Example

const paths = findPaths(__dirname)