UNPKG

skaya

Version:

CLI SDK for full-stack automation: scaffold frontend, backend & blockchain. Future-ready for Web3, integrations, server components & logging.

11 lines (10 loc) 295 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handleCliError = handleCliError; /** * Handles CLI errors consistently */ function handleCliError(error, context) { console.error(`❌ Error in ${context}: ${error.message}`); process.exitCode = 1; }