@coat/cli
Version:
TODO: See #3
11 lines (10 loc) • 415 B
TypeScript
import { CoatContext } from "../types/coat-context";
/**
* Returns the path of a file relative
* to the root coat project directory.
* Results will always use unix style "/" path separators.
*
* @param filePath The file path to retrieve the relative path
* @param context The context of the current coat project
*/
export declare function getRelativeFilePath(filePath: string, context: CoatContext): string;