willow-cli
Version:
CLI for installing Willow Design System components
12 lines • 850 B
TypeScript
import type { ProjectType } from '../types/index.js';
export declare function fileExists(path: string): Promise<boolean>;
export declare function createDirectory(path: string): Promise<void>;
export declare function writeFileContent(path: string, content: string): Promise<void>;
export declare function readFileContent(path: string): Promise<string>;
export declare function detectProjectType(): Promise<ProjectType>;
export declare function getComponentDir(projectType: ProjectType): Promise<string>;
export declare function getLibDir(projectType: ProjectType): Promise<string>;
export declare function getCssPath(projectType: ProjectType): string;
export declare function findCssFile(projectType: ProjectType): Promise<string | null>;
export declare function listDirectory(path: string): Promise<string[]>;
//# sourceMappingURL=fileSystem.d.ts.map