Main Menu
Use health to move between detection and record management from one terminal menu.
Contents
Section titled “Contents”php artisan healthThe menu is the starting point for working through findings in a terminal. It uses Termwind for terminal styling and Laravel Prompts for selection.
Menu choices
Section titled “Menu choices”| Choice | What opens |
|---|---|
| Detect findings | The detection selector. |
| Browse, verify, and resolve records | The interactive record browser, including ignore and mark-as-solved actions. |
| Exit | Closes the suite. |
The suite returns to this menu after a child operation finishes. For example, detect a finding type, return to the menu, then open its records to inspect or act on the occurrences.
The generator is a separate entrypoint: use health:make:finding to create a finding class.
Interaction and fallbacks
Section titled “Interaction and fallbacks”The menu explicitly requests interactive mode for its child commands. On supported terminals the record browser uses a table with keyboard actions. Where raw input is unavailable, including Laravel’s Windows fallback, it uses menus and separate selection prompts.
health --no-interaction fails with a message directing you to health:detect or health:records. Use those direct commands with -n for automated runs.
Exit status
Section titled “Exit status”The suite exits 0 when its operations succeed. A child-command failure is remembered: later successful operations do not clear it, and choosing Exit then returns 1.