Functions

f
findPath(
typed: string,
cwd: string
): FoundPath

Asks the filesystem what is at a typed path — one of four answers, and never a thrown error.

f
getPathAndDepth(argument: string): { file: string; depth: number; }

The path a command was pointed at, and how deep it was asked to go.

Type Aliases