package main import ( "errors" "fmt" "os" "punchcard/internal/commands" ) func main() { if err := commands.Execute(); err != nil { // Check for specific error types that need special exit codes if errors.Is(err, commands.ErrNoActiveTimer) { fmt.Fprintf(os.Stderr, "%s\n", err.Error()) os.Exit(2) // Exit code 2 for no active timer as per CLAUDE.md } // Default error handling os.Exit(1) } }