52821a795e
IMPROVEMENTS: - Added input validation for check type (1-2) with retry loop - Added input validation for time period (1-5) with retry loop - Added email format validation (user@domain.com pattern) - Added domain format validation (example.com pattern) - Added color codes to menu options (${CYAN}1)${NC} format) - Improved error messages for invalid input VALIDATION DETAILS: - Check type: Only accepts 1 or 2, rejects invalid input with clear error - Time period: Only accepts 1-5, rejects invalid input with clear error - Email format: Validates user@domain.com pattern - Domain format: Validates domain.com pattern (alphanumeric, dots, hyphens) - All inputs with defaults continue to work seamlessly MENU STANDARDS COMPLIANCE: ✓ Input validation (CRITICAL) ✓ Default values (already had) ✓ Color codes (CRITICAL) ✓ Error messages on invalid input (IMPORTANT) ✓ Retry logic for failed validation (IMPORTANT) Lines modified: ~60 (input validation + color codes) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>