/** * Claude Task Master * A task management system for AI-driven development with Claude */ // This file serves as the main entry point for the package // The primary functionality is provided through the CLI commands import { fileURLToPath } from 'url'; import { dirname, resolve } from 'path'; import { createRequire } from 'module'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const require = createRequire(import.meta.url); // Export the path to the dev.js script for programmatic usage export const devScriptPath = resolve(__dirname, './scripts/dev.js'); // Export a function to initialize a new project programmatically export const initProject = async (options = {}) => { const init = await import('./scripts/init.js'); return init.initializeProject(options); }; // Export version information export const version = require('./package.json').version;