@modoki/engine / index / DebugCommandDef
Interface: DebugCommandDef
A one-off button grouped into a tab (the lightweight form — no React needed).
Debug & Journal
label
label:
string
Button label.
order?
optionalorder?:number
Sort key within its group (ascending; default 100).
run
run: () =>
void
Fired on click.
Returns
void
tab?
optionaltab?:string
Target tab title; grouped under the built-in "Cheats" tab by default.