UNPKG

cerberus-claude-cli

Version:

CLI tool for preparing files and projects for Claude AI. Collect, organize, and analyze source code files to create comprehensive project contexts.

23 lines (20 loc) 453 B
/** * Terminal utility functions */ // const logger = require('./logger'); // TODO: Use if needed /** * Clear the terminal screen */ function clearTerminal() { // Different command based on operating system if (process.platform === 'win32') { // For Windows process.stdout.write('\x1Bc'); } else { // For Unix-like systems (Linux, macOS) process.stdout.write('\x1B[2J\x1B[0f\n'); } } module.exports = { clearTerminal, };