UNPKG

claudewatch

Version:

Automated validation and self-healing system for Claude Code projects

35 lines (27 loc) 1.66 kB
#!/usr/bin/env node const chalk = require('chalk'); const fs = require('fs'); const path = require('path'); console.log(chalk.blue('\nClaudeWatch installed successfully!\n')); const isInProject = fs.existsSync('./package.json'); if (isInProject) { console.log(chalk.green('Detected project directory')); console.log(chalk.gray('You can now run: ') + chalk.white('claudewatch init')); } else { console.log(chalk.yellow('Not in a project directory')); console.log(chalk.gray('Navigate to your project and run: ') + chalk.white('claudewatch init')); } console.log(chalk.blue('\nQuick Start Commands:\n')); console.log(chalk.white(' claudewatch claude-setup') + chalk.gray(' # For Claude Code users')); console.log(chalk.white(' claudewatch init') + chalk.gray(' # Initialize in project')); console.log(chalk.white(' claudewatch validate') + chalk.gray(' # Run validation tests')); console.log(chalk.white(' claudewatch self-heal') + chalk.gray(' # Auto-fix issues')); console.log(chalk.white(' claudewatch --help') + chalk.gray(' # Show all commands')); console.log(chalk.blue('\nDocumentation:\n')); console.log(chalk.gray(' GitHub: ') + chalk.white('https://github.com/PolarOrchid/ClaudeWatch')); console.log(chalk.gray(' NPM: ') + chalk.white('https://npmjs.com/package/claudewatch')); console.log(chalk.blue('\nFor Claude Code Integration:\n')); console.log(chalk.gray(' 1. Run: ') + chalk.white('claudewatch claude-setup')); console.log(chalk.gray(' 2. Tell Claude: "ClaudeWatch is now installed and ready"')); console.log(chalk.gray(' 3. Claude will automatically validate your work!')); console.log('');