Skip to content

@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? ​

optional order?: number

Sort key within its group (ascending; default 100).


run ​

run: () => void

Fired on click.

Returns ​

void


tab? ​

optional tab?: string

Target tab title; grouped under the built-in "Cheats" tab by default.

Built with Modoki.