UNPKG

@pulzar/cli

Version:

Ultimate command-line interface for Pulzar framework - scaffolding, development server, building, testing, code generation, health diagnostics, security auditing, and deployment tools for modern Node.js applications

21 lines 812 B
import { readFileSync } from "fs"; import { fileURLToPath } from "url"; import { dirname, join } from "path"; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Get version from package.json const packagePath = join(__dirname, "../package.json"); const packageJson = JSON.parse(readFileSync(packagePath, "utf-8")); export const cli = "pulzar"; export const version = packageJson.version; // Export version info export const getVersion = () => version; export const getCLIName = () => cli; // Export logger from utils export { logger } from "./utils/logger.js"; // Export command interfaces export * from "./commands/new.js"; export * from "./commands/dev.js"; export * from "./commands/build.js"; export * from "./commands/build-di.js"; //# sourceMappingURL=index.js.map