@reliverse/rse
Version:
@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power
20 lines (19 loc) • 634 B
TypeScript
export declare const handleError: (error: unknown) => string;
/**
* Changes the current working directory to the specified path.
* Logs a warning if the target directory does not exist.
*/
export declare function cd(dir: string): Promise<void>;
/**
* Returns the current working directory.
*/
export declare function pwd(): void;
/**
* Removes a file or directory (recursively, if it's a directory).
* Logs an error if removal fails.
*/
export declare function rm(target: string): Promise<void>;
/**
* Returns the current working directory.
*/
export declare function getCurrentWorkingDirectory(useCache?: boolean): string;