UNPKG

todofordevs

Version:

CLI for TodoForDevs - A simple task management tool for developers

36 lines (35 loc) 880 B
/** * Interface for a project */ interface Project { id: string; name: string; ownerId: string; ownerEmail?: string; ownerName?: string; createdAt: string; updatedAt: string; owner?: { id: string; name?: string; email: string; }; } /** * List all projects accessible to the authenticated user */ export declare function listProjects(): Promise<Project[]>; /** * Select a project to set as active */ export declare function selectProject(): Promise<void>; /** * Display the currently active project */ export declare function showCurrentProject(): void; /** * Get the active project ID, prompting to select one if none is set * Returns undefined if no project is selected or if the user cancels */ export declare function getActiveProjectId(projectIdOverride?: string): Promise<string | undefined>; export {};