simple-task-master
Version:
A simple command-line task management tool
21 lines • 1.01 kB
TypeScript
/**
* Find the STM workspace directory by searching up the directory tree
* @param startDir - Directory to start searching from (defaults to current working directory)
* @returns The path to the project root containing .simple-task-master, or null if not found
*/
export declare function findWorkspaceRoot(startDir?: string): Promise<string | null>;
/**
* Get the tasks directory path, searching up the directory tree if needed
* @param startDir - Directory to start searching from
* @returns The path to the tasks directory
* @throws Error if no STM workspace is found
*/
export declare function getTasksDirectory(startDir?: string): Promise<string>;
/**
* Get the workspace root directory, searching up the directory tree if needed
* @param startDir - Directory to start searching from
* @returns The workspace root directory
* @throws Error if no STM workspace is found
*/
export declare function getWorkspaceRoot(startDir?: string): Promise<string>;
//# sourceMappingURL=workspace.d.ts.map