nextdoctor init
Generates a nextdoctor.config.jsonwith your preferred settings so you don't have to remember or retype flags every time.
$nextdoctor init
In a real terminal it asks a few quick questions — dev command, memory threshold, sampling interval, auto-restart — just press Enter to accept the default for any of them. Pass -yto skip the questions entirely and write sensible defaults instead. Safe to run anytime: it won't overwrite an existing config without asking (or without -y).
You can hand-edit the generated file anytime, or re-run nextdoctor init to regenerate it.